CVE-2008-6681 Cross-Site Scripting in dojo

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via XML entities in a TEXTAREA element within the Dojo dijit.Editor component.

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-2008-6681?

CVE-2008-6681 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Apr 2009. 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 dijit.Editor in Dojo before 1.1 allows remote attackers to inject arbitrary web script or HTML via XML entities in a TEXTAREA element.

Weakness: CWE-79

Which versions are affected by CVE-2008-6681?

2 open source packages ship an affected version, including dojo. It affects 1 product.

PackageAffectedFixed in
dojo npmAll versions1.1.0
dojo npmAll versions1.1.0

Products include Dojotoolkit Dojo.

How do I fix CVE-2008-6681?

Upgrade dojo to 1.1.0 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-2008-6681 being exploited?

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

Sources

Also known as GHSA-39cx-xcwj-3rc4.

Is CVE-2008-6681 in your software?

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

Check your SBOMs for free