Description
ACS Commons version 5.1.x (and earlier) suffers from a Reflected Cross-site Scripting (XSS) vulnerability in /apps/acs-commons/content/page-compare.html endpoint via the a and b GET parameters. User input submitted via these parameters is not validated or sanitised. An attacker must provide a link to someone with access to AEM Author, and could potentially exploit this vulnerability to inject malicious JavaScript content into vulnerable form fields and execute it within the context of the victim's browser. The exploitation of this issue requires user interaction in order to be successful.
Remediation
References
https://github.com/Adobe-Consulting-Services/acs-aem-commons/security/advisories/GHSA-w5m2-299g-rff5
Related Vulnerabilities
CVE-2020-36640 Vulnerability in maven package org.bonitasoft.connectors:bonita-connector-webservice
CVE-2013-1965 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2018-7651 Vulnerability in maven package org.webjars.npm:ssri
CVE-2020-26870 Vulnerability in maven package org.webjars.npm:dompurify
CVE-2020-8116 Vulnerability in maven package org.webjars.npm:dot-prop