CVE-2018-1000665
Description
A reflected XSS vulnerability in the Dojo Objective Harness (DOH) prior to 1.14 allows attackers to inject arbitrary JavaScript via crafted URLs in unit test pages.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A reflected XSS vulnerability in the Dojo Objective Harness (DOH) prior to 1.14 allows attackers to inject arbitrary JavaScript via crafted URLs in unit test pages.
Vulnerability
A reflected Cross-Site Scripting (XSS) vulnerability exists in the Dojo Objective Harness (DOH) versions prior to 1.14. The flaw is present in the files unit.html, testsDOH/_base/loader/i18n-exhaustive/i18n-test/unit.html, and testsDOH/_base/i18nExhaustive.js. These pages do not properly escape text derived from the URL, allowing an attacker to inject arbitrary HTML or JavaScript [1][3]. The affected component is the DOH testing harness, which is typically used in development or testing environments but may be deployed on live servers.
Exploitation
An attacker lures a victim to a crafted URL pointing to one of the vulnerable DOH pages on a target domain. The page processes the unescaped input from the URL, executing attacker-controlled JavaScript in the victim's browser. No authentication or prior access to the target domain is required; the attack relies on the victim visiting the malicious link while authenticated to the target site [1].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the victim's browser within the security context of the vulnerable domain. This can result in theft of HTTP cookies, delivery of malware, bypass of CORS trust boundaries, and other actions the victim can perform on the site [1]. The attacker gains the same privileges as the victim user.
Mitigation
The vulnerability is fixed in Dojo version 1.14, released August 10, 2018 [3][4]. Users should upgrade to DOH 1.14 or later. The fix includes escaping text from the URL, commenting out the contents of unit.html, preventing remote script execution, and removing remote URLs from unit test files [3]. No workaround is documented for earlier versions; removing or restricting access to the DOH files on production servers is advised.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.dojotoolkit:dojoMaven | < 1.14 | 1.14 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-vmq9-cm7m-4p8pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-1000665ghsaADVISORY
- dojotoolkit.org/blog/dojo-1-14-releasedghsax_refsource_CONFIRMWEB
- github.com/dojo/dojo/pull/307ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.