CVE-2021-35043 Cross-site Scripting in OWASP AntiSamy

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts via crafted HTML attributes in OWASP AntiSamy when using the HTML output serializer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-35043?

CVE-2021-35043 is a medium-severity cross-site scripting vulnerability in Netapp Active Iq Unified Manager, published on 19 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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 &#00058 as the replacement for the : character.

Weakness: CWE-79

Which versions are affected by CVE-2021-35043?

2 open source packages ship an affected version, including org.owasp.antisamy:antisamy. It affects 11 products.

PackageAffectedFixed in
org.owasp.antisamy:antisamy MavenFrom 1.5.71.6.4
org.owasp.antisamy:antisamy MavenFrom 1.5.71.6.4

Products include Antisamy Project Antisamy, Netapp Active Iq Unified Manager, Oracle Banking Enterprise Default Management, Oracle Banking Enterprise Default Managment, Oracle Banking Party Management, Oracle Banking Platform and 5 more.

How do I fix CVE-2021-35043?

Upgrade org.owasp.antisamy:antisamy to 1.6.4 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-35043 being exploited?

There is no known exploitation of CVE-2021-35043 in the wild and no public exploit code.

All Netapp Active Iq Unified Manager vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-35043, GHSA-9c8w-jrw3-q2c3, UBUNTU-CVE-2021-35043.

Is CVE-2021-35043 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free