Miggo Logo

CVE-2010-2273: Cross-Site Scripting in dojo

4.3

CVSS Score

Basic Information

EPSS Score
0.95645%
Published
9/11/2019
Updated
1/9/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
dojonpm= 1.13.01.13.1
dojonpm>= 1.12.0, < 1.12.41.12.4
dojonpm>= 1.11.0, < 1.11.61.11.6
dojonpm>= 1.10.0, < 1.10.101.10.10

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

V*rsions o* `*ojo` prior to *.*.* *r* vuln*r**l* to *OM-**s** *ross-Sit* S*riptin* (XSS). T** p**k*** *o*s not s*nitiz* URL p*r*m*t*rs in t** `_t*st*ommon.js` *n* `runn*r.*tml` t*st *il*s, *llowin* *tt**k*rs to *x**ut* *r*itr*ry J*v*S*ript in t** vi*

Reasoning

T** vuln*r**ility st*ms *rom two k*y issu*s visi*l* in t** *ommit *i** *n* **visory: *) `unit.*tml`'s inlin* s*ript *ir**tly us** uns*nitiz** URL p*r*m*t*rs in `inn*r*TML`, *r**tin* *n XSS v**tor (*ix** *y ***in* *n `*s**p*()` *un*tion). *) `i**n*x**