GHSA-w5m2-299g-rff5

Suggest an improvement
Source
https://github.com/advisories/GHSA-w5m2-299g-rff5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-w5m2-299g-rff5/GHSA-w5m2-299g-rff5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w5m2-299g-rff5
Aliases
Published
2022-04-26T12:59:00Z
Modified
2023-11-08T04:09:05.797637Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Page Compare Reflected Cross-site Scripting (XSS) vulnerability
Details

Impact

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 sanitized.

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.

Patches

This issue has been resolved in 5.2.0.

Workarounds

None

References

N/A

For more information

If you have any questions or comments about this advisory open an issue in acs-aem-commons.

Credit

This issue was discovered and reported by Black Lantern Security.

https://hackerone.com/reports/1466020

Database specific
{
    "nvd_published_at": "2022-04-21T19:15:00Z",
    "github_reviewed_at": "2022-04-26T12:59:00Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Maven / com.adobe.acs:acs-aem-commons

Package

Name
com.adobe.acs:acs-aem-commons
View open source insights on deps.dev
Purl
pkg:maven/com.adobe.acs/acs-aem-commons

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.0

Affected versions

4.*

4.6.0
4.7.0
4.7.2
4.8.0
4.8.4
4.8.6
4.9.0
4.9.2
4.10.0
4.11.0
4.11.2
4.12.0

5.*

5.0.0
5.0.2
5.0.4
5.0.6
5.0.8
5.0.10
5.0.12
5.0.14
5.1.0
5.1.2