CVE-2007-6306 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via image map features in JFreeChart, requiring user interaction to execute.

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-2007-6306?

CVE-2007-6306 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Dec 2007. 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

Multiple cross-site scripting (XSS) vulnerabilities in the image map feature in JFreeChart 1.0.8 allow remote attackers to inject arbitrary web script or HTML via the (1) chart name or (2) chart tool tip text; or the (3) href, (4) shape, or (5) coords attribute of a chart area.

Weakness: CWE-79

Which versions are affected by CVE-2007-6306?

It affects 1 product.

Products include Jfree Jfreechart.

How do I fix CVE-2007-6306?

Upgrade to a fixed version.

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-2007-6306 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-6306, GHSA-2qpv-6w5r-q697.

Is CVE-2007-6306 in your software?

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

Check your SBOMs for free