CVE-2019-10260: Moderate severity vulnerability that affects total.js
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.47285%
CWE
Published
4/2/2019
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
total.js | npm | <= 3.3.0-12 | 3.3.0-13 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two unescaped output locations: 1) In ui.js
's grid component, the column.format
-derived value was rendered without escaping (fixed by adding Thelpers.encode()
). 2) In index.html
's notification template, item.message
was inserted raw (fixed by adding Thelpers.encode()
). Both locations directly inject user-influenced content into the DOM without sanitization, matching classic XSS patterns. The commits explicitly show encoding being added to these exact locations, confirming their vulnerability.