CVE-2021-35043 json
Cross-site Scripting in OWASP AntiSamy
published 2021-07-19 5 y ago modified 2026-06-17 4 mo ago also GHSA-9c8w-jrw3-q2c3 , EUVD-2021-1654
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.owasp.antisamy:antisamy 1.6.4
- antisamy_project antisamy 1.6.4
- libowasp-antisamy-java Debian 14, Debian 13 1.7.4-1
debian advisories DEBIAN-CVE-2021-35043
- github.com/nahsra/antisamy#87 pull request
- github.com/nahsra/antisamy/releases/tag/v1.6.4 release
- oracle.com/security-alerts/cpuoct2021.html advisory
- oracle.com/security-alerts/cpujan2022.html advisory
- oracle.com/security-alerts/cpuapr2022.html advisory
- oracle.com/security-alerts/cpujul2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-35043 updated cvss 8.8
AntiSamy: XSS via HTML attributes
-
Red Hat JBoss Fuse 6 OWASP AntiSamy OWASP AntiSamyaffected: no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.owasp.antisamy:antisamy | >=1.5.7, <1.6.4 |
1.6.4 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/nahsra/antisamy/pull/87
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
github.com
/nahsra/antisamy/releases/tag/v1.6.4
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujul2022.html
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-35043
advisory
-
github.com
/nahsra/antisamy
package
Sources
- CVE List CVE-2021-35043
- GitHub Advisory GHSA-9c8w-jrw3-q2c3
- NVD CVE-2021-35043
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.