CVE-2015-6748 Improper Neutralization of Input During Web Page Generation in Jsoup

Medium 6.1 Published Updated

An attacker can inject malicious scripts via jsoup, potentially leading to code execution in the context of the application using the 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-2015-6748?

CVE-2015-6748 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, 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

Cross-site scripting (XSS) vulnerability in jsoup before 1.8.3.

Weakness: CWE-79

Which versions are affected by CVE-2015-6748?

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

PackageAffectedFixed in
org.jsoup:jsoup MavenFrom 1.6.01.8.3
org.jsoup:jsoup MavenFrom 1.6.01.8.3

Products include Debian Debian Linux, Jsoup Jsoup.

How do I fix CVE-2015-6748?

Upgrade org.jsoup:jsoup to 1.8.3 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-2015-6748 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-6748, DLA-2075-1, GHSA-48rh-qgjr-xfj6, MGASA-2015-0340.

Is CVE-2015-6748 in your software?

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

Check your SBOMs for free