Skip to content
Fencer Vulns
medium 6.1

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 &#00058 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

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 AntiSamy
    affected: 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

Sources

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.