GitHub Advisory Database
GHSA-9c8w-jrw3-q2c3
Cross-site Scripting in OWASP AntiSamy
Details
OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with : as the replacement for the : character.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.owasp.antisamy:antisamy | From 1.5.7 before 1.6.4 (fixed in 1.6.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-35043
- https://github.com/nahsra/antisamy/pull/87
- https://github.com/nahsra/antisamy
- https://github.com/nahsra/antisamy/releases/tag/v1.6.4
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html