CVE-2016-10006 OWASP AntiSamy vulnerable to Cross-site Scripting
Attackers can bypass sanitization protections to inject executable code via crafted style tags, leading to cross-site scripting.
- 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-2016-10006?
CVE-2016-10006 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Dec 2016. 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
In OWASP AntiSamy before 1.5.5, by submitting a specially crafted input (a tag that supports style with active content), you could bypass the library protections and supply executable code. The impact is XSS.
Weakness: CWE-79
Which versions are affected by CVE-2016-10006?
2 open source packages ship an affected version, including org.owasp.antisamy:antisamy. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.owasp.antisamy:antisamy Maven | All versions | 1.5.5 |
org.owasp.antisamy:antisamy Maven | All versions | 1.5.5 |
Products include Antisamy Project Antisamy.
How do I fix CVE-2016-10006?
Upgrade org.owasp.antisamy:antisamy to 1.5.5 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-2016-10006 being exploited?
There is no known exploitation of CVE-2016-10006 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2016-10006, GHSA-683w-6h9j-57wq, UBUNTU-CVE-2016-10006.