CVE-2021-35043
MEDIUM6.1EPSS 0.47%Cross-site Scripting in OWASP AntiSamy
Published: 8/2/2021Modified: 4/28/2026
Description
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 (2)
- Debian/libowasp-antisamy-javafrom 0
- Maven/org.owasp.antisamy:antisamy>= 1.5.7, < 1.6.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-35043
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-35043
- PATCHhttps://github.com/nahsra/antisamy
- WEBhttps://github.com/nahsra/antisamy/pull/87
- WEBhttps://github.com/nahsra/antisamy/releases/tag/v1.6.4
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujan2022.html
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html
- WEBhttps://www.oracle.com/security-alerts/cpuoct2021.html