CVE-2010-2273: Cross-Site Scripting in dojo
4.3
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.95645%
CWE
Published
9/11/2019
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
dojo | npm | = 1.13.0 | 1.13.1 |
dojo | npm | >= 1.12.0, < 1.12.4 | 1.12.4 |
dojo | npm | >= 1.11.0, < 1.11.6 | 1.11.6 |
dojo | npm | >= 1.10.0, < 1.10.10 | 1.10.10 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues visible in the commit diff and advisory: 1) unit.html
's inline script directly used unsanitized URL parameters in innerHTML
, creating an XSS vector (fixed by adding an escape()
function). 2) i18nExhaustive.js
contained hardcoded references to external test URLs that could be abused (removed in patch). While runner.html
is mentioned in advisories, its specific vulnerable code isn't shown in provided diffs, so we focus on the demonstrably vulnerable patterns shown in unit.html
and i18nExhaustive.js
.