CVE-2017-14735 OWASP AntiSamy Cross-site Scripting vulnerability

Medium 6.1 Published Updated

An attacker can execute arbitrary JavaScript in a victim's browser by exploiting HTML5 entity handling in the AntiSamy library.

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-2017-14735?

CVE-2017-14735 is a medium-severity cross-site scripting vulnerability in n/a, published on 25 Sep 2017. 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.5.7 allows XSS via HTML5 entities, as demonstrated by use of : to construct a javascript: URL.

Weakness: CWE-79

Which versions are affected by CVE-2017-14735?

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

PackageAffectedFixed in
org.owasp.antisamy:antisamy MavenAll versions1.5.7
org.owasp.antisamy:antisamy MavenAll versions1.5.7

Products include Antisamy Project Antisamy.

How do I fix CVE-2017-14735?

Upgrade org.owasp.antisamy:antisamy to 1.5.7 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-2017-14735 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2017-14735, GHSA-q44v-xc3g-v7jq, UBUNTU-CVE-2017-14735.

Is CVE-2017-14735 in your software?

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

Check your SBOMs for free