CVE-2018-1000665 Improper Neutralization of Input During Web Page Generation in Dojo Dojo Objective Harness

Medium 6.1 Published Updated

Cross-site scripting in Dojo DOH allows attackers to execute scripts in victim browsers, potentially stealing cookies or delivering malware.

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-2018-1000665?

CVE-2018-1000665 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Sep 2018. 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

Dojo Dojo Objective Harness (DOH) version prior to version 1.14 contains a Cross Site Scripting (XSS) vulnerability in unit.html and testsDOH/_base/loader/i18n-exhaustive/i18n-test/unit.html and testsDOH/_base/i18nExhaustive.js in the DOH that can result in Victim attacked through their browser - deliver malware, steal HTTP cookies, bypass CORS trust. This attack appear to be exploitable via Victims are typically lured to a web site under the attacker's control; the XSS vulnerability on the target domain is silently exploited without the victim's knowledge. This vulnerability appears to have been fixed in 1.14.

Weakness: CWE-79

Which versions are affected by CVE-2018-1000665?

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

PackageAffectedFixed in
org.dojotoolkit:dojo MavenAll versions1.14
org.dojotoolkit:dojo MavenAll versions1.14

Products include Dojotoolkit Dojo.

How do I fix CVE-2018-1000665?

Upgrade org.dojotoolkit:dojo to 1.14 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-2018-1000665 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-1000665, GHSA-vmq9-cm7m-4p8p, UBUNTU-CVE-2018-1000665.

Is CVE-2018-1000665 in your software?

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

Check your SBOMs for free