CVE-2021-29489 json
Options structure open to XSS if passed unfiltered
published 5y ago modified 4mo ago also GHSA-8j65-4pcq-xq95 , EUVD-2021-1014
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
Highcharts JS is a JavaScript charting library based on SVG. In Highcharts versions 8 and earlier, the chart options structure was not systematically filtered for XSS vectors. The potential impact was that content from untrusted sources could execute code in the end user's browser. The vulnerability is patched in version 9. As a workaround, implementers who are not able to upgrade may apply DOMPurify recursively to the options structure to filter out malicious markup.
Patch / fix
- npm highcharts 9.0.0
- highcharts highcharts 9.0.0
Is CVE-2021-29489 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.87% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | highcharts | <9.0.0 |
9.0.0 |
Affected products
- highcharts highcharts
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/highcharts/highcharts/security/advisories/GHSA-8j65-4pcq-xq95
web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210622-0005/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-29489
advisory
-
github.com
/highcharts/highcharts
package
-
security.netapp.com
/advisory/ntap-20210622-0005
web
-
npmjs.com
/package/highcharts
web
Sources
- CVE List CVE-2021-29489
- GitHub Advisory GHSA-8j65-4pcq-xq95
- NVD CVE-2021-29489
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.