Vulnerability · Published Jul 19, 2021 · Assigned by mitre
CVE-2021-35043
Medium 6.1
In plain English
A medium-severity security flaw in the libowasp-antisamy-java package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.5%top 25.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libowasp-antisamy-java | no fix listed | DEBIAN-CVE-2021-35043 |
| Debian:13 | libowasp-antisamy-java | 1.7.4-1 | DEBIAN-CVE-2021-35043 |
| Debian:14 | libowasp-antisamy-java | 1.7.4-1 | DEBIAN-CVE-2021-35043 |
| Maven | org.owasp.antisamy:antisamy | 1.6.4 | GHSA-9c8w-jrw3-q2c3 |
| Ubuntu:22.04:LTS | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2021-35043 |
| Ubuntu:24.04:LTS | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2021-35043 |
| Ubuntu:25.10 | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2021-35043 |
| Ubuntu:26.04:LTS | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2021-35043 |
| Ubuntu:26.10 | libowasp-antisamy-java | no fix listed | UBUNTU-CVE-2021-35043 |
Affected products (as reported)
References
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://github.com/nahsra/antisamy/releases/tag/v1.6.4 x_refsource_MISC
- https://github.com/nahsra/antisamy/pull/87 x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC