CVE-2021-29489
Options structure open to XSS if passed unfiltered
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.6
Options structure open to XSS if passed unfiltered
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.
- Record
CVE-2021-29489- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2021-1014
7.6
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.
- Record
EUVD-2021-1014- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6chw-6frg-f759
7.5
Regular Expression Denial of Service in Acorn
Affected versions of acorn are vulnerable to Regular Expression Denial of Service. A regex in the form of /[x-\ud800]/u causes the parser to enter an infinite loop. The string is not valid UTF16 which usually results in it being sanitized before reaching the parser. If an application processes untrusted input and passes it directly to acorn, attackers may leverage the vulnerability leading to Denial of Service.
- Record
GHSA-6chw-6frg-f759- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-8j65-4pcq-xq95
7.6
Options structure open to Cross-site Scripting if passed unfiltered
Impact
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. Especially when using the useHTML flag, HTML string options would be inserted unfiltered directly into the DOM. When useHTML was false, malicious code could be inserted by using various character replacement tricks or malformed HTML.
If your chart configuration comes from a trusted source like a static setup or pre-filtered HTML (or no markup at all in the configuration), you are not impacted.
Patches
In version 9, the whole rendering layer was refactored to use an DOMParser, an AST and tag and HTML allow-listing to make sure only safe content entered the DOM. In addition, prototype pollution was stopped.
Workarounds
Implementers who are not able to upgrade may apply DOMPurify recursively to the options structure to filter out malicious markup.
References
- Details on the improved Highcharts security
- The AST and TextBuilder refactoring
- The fix for prototype pollution
For more information
If you have any questions or comments about this advisory:
- Visit our support page
- For more Email us at [email protected]
- Record
GHSA-8j65-4pcq-xq95- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
7.6
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.
- Record
CVE-2021-29489- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
5.4
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.
- Record
CVE-2021-29489- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 15 moreShow less
OSVGHSA-6chw-6frg-f759
7.5
Regular Expression Denial of Service in Acorn
Affected versions of acorn are vulnerable to Regular Expression Denial of Service. A regex in the form of /[x-\ud800]/u causes the parser to enter an infinite loop. The string is not valid UTF16 which usually results in it being sanitized before reaching the parser. If an application processes untrusted input and passes it directly to acorn, attackers may leverage the vulnerability leading to Denial of Service.
- Record
GHSA-6chw-6frg-f759- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVGHSA-8j65-4pcq-xq95
7.6
Options structure open to Cross-site Scripting if passed unfiltered
Impact
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. Especially when using the useHTML flag, HTML string options would be inserted unfiltered directly into the DOM. When useHTML was false, malicious code could be inserted by using various character replacement tricks or malformed HTML.
If your chart configuration comes from a trusted source like a static setup or pre-filtered HTML (or no markup at all in the configuration), you are not impacted.
Patches
In version 9, the whole rendering layer was refactored to use an DOMParser, an AST and tag and HTML allow-listing to make sure only safe content entered the DOM. In addition, prototype pollution was stopped.
Workarounds
Implementers who are not able to upgrade may apply DOMPurify recursively to the options structure to filter out malicious markup.
References
- Details on the improved Highcharts security
- The AST and TextBuilder refactoring
- The fix for prototype pollution
For more information
If you have any questions or comments about this advisory:
- Visit our support page
- For more Email us at [email protected]
- Record
GHSA-8j65-4pcq-xq95- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVCLSA-2026-1780620684 No score
TuxCare security update for acorn (1 CVE)
TuxCare rebuilt acorn to address 1 CVE. Fixed in 6.0.4-tuxcare.1.
- Record
CLSA-2026-1780620684- Updated
- 2026-11-02
OSVCLSA-2026-1780620685 No score
TuxCare security update for acorn (1 CVE)
TuxCare rebuilt acorn to address 1 CVE. Fixed in 6.2.0-tuxcare.1.
- Record
CLSA-2026-1780620685- Updated
- 2026-11-02
OSVCLSA-2026-1782867617 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 7.2.2-tuxcare.1.
- Record
CLSA-2026-1782867617- Updated
- 2026-11-02
OSVCLSA-2026-1782867619 No score
TuxCare security update for highcharts (2 CVEs)
TuxCare rebuilt highcharts to address 2 CVEs. Fixed in 6.2.0-tuxcare.1.
- Record
CLSA-2026-1782867619- Updated
- 2026-11-02
OSVCLSA-2026-1782954029 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 8.2.2-tuxcare.1.
- Record
CLSA-2026-1782954029- Updated
- 2026-11-02
OSVCLSA-2026-1787823889 No score
TuxCare security update for tar (6 CVEs)
TuxCare rebuilt tar to address 6 CVEs. Fixed in 6.2.0-tuxcare.1.
- Record
CLSA-2026-1787823889- Updated
- 2026-11-02
OSVCLSA-2026-1793867512 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 6.0.7-tuxcare.3.
- Record
CLSA-2026-1793867512- Updated
- 2026-11-05
OSVCLSA-2026-1793867513 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 6.1.0-tuxcare.3.
- Record
CLSA-2026-1793867513- Updated
- 2026-11-05
OSVCLSA-2026-1793867514 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 6.1.3-tuxcare.3.
- Record
CLSA-2026-1793867514- Updated
- 2026-11-05
OSVCLSA-2026-1793867516 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 6.2.0-tuxcare.6.
- Record
CLSA-2026-1793867516- Updated
- 2026-11-05
OSVCLSA-2026-1793867517 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 7.2.0-tuxcare.3.
- Record
CLSA-2026-1793867517- Updated
- 2026-11-05
OSVCLSA-2026-1793867518 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 7.2.2-tuxcare.3.
- Record
CLSA-2026-1793867518- Updated
- 2026-11-05
OSVCLSA-2026-1793867519 No score
TuxCare security update for highcharts (1 CVE)
TuxCare rebuilt highcharts to address 1 CVE. Fixed in 8.2.2-tuxcare.3.
- Record
CLSA-2026-1793867519- Updated
- 2026-11-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
acornnpm |
6.0.0 up to 6.4.1 | 6.4.1 |
acornnpm |
7.0.0 up to 7.1.1 | 7.1.1 |
acornnpm |
5.5.0 up to 5.7.4 | 5.7.4 |
highchartsnpm |
before 9.0.0 | 9.0.0 |
acornTuxCare:npm |
6.0.4-tuxcare.0 up to 6.0.4-tuxcare.1, plus listed versions 6.0.4 |
6.0.4-tuxcare.1 |
acornTuxCare:npm |
6.2.0-tuxcare.0 up to 6.2.0-tuxcare.1, plus listed versions 6.2.0 |
6.2.0-tuxcare.1 |
highchartsTuxCare:npm |
7.2.2-tuxcare.0 up to 7.2.2-tuxcare.1, plus listed versions 7.2.2 |
7.2.2-tuxcare.1 |
highchartsTuxCare:npm |
6.2.0-tuxcare.0 up to 6.2.0-tuxcare.1, plus listed versions 6.2.0 |
6.2.0-tuxcare.1 |
highchartsTuxCare:npm |
8.2.2-tuxcare.0 up to 8.2.2-tuxcare.1, plus listed versions 8.2.2 |
8.2.2-tuxcare.1 |
highchartsTuxCare:npm |
6.0.7-tuxcare.0 up to 6.0.7-tuxcare.3, plus listed versions 6.0.76.0.7-tuxcare.16.0.7-tuxcare.2 |
6.0.7-tuxcare.3 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
highchartsTuxCare:npm |
6.1.0-tuxcare.0 up to 6.1.0-tuxcare.3, plus listed versions 6.1.06.1.0-tuxcare.16.1.0-tuxcare.2 |
6.1.0-tuxcare.3 |
highchartsTuxCare:npm |
6.1.3-tuxcare.0 up to 6.1.3-tuxcare.3, plus listed versions 6.1.36.1.3-tuxcare.16.1.3-tuxcare.2 |
6.1.3-tuxcare.3 |
highchartsTuxCare:npm |
6.2.0-tuxcare.0 up to 6.2.0-tuxcare.6, plus listed versions 6.2.06.2.0-tuxcare.16.2.0-tuxcare.26.2.0-tuxcare.36.2.0-tuxcare.46.2.0-tuxcare.5 |
6.2.0-tuxcare.6 |
highchartsTuxCare:npm |
7.2.0-tuxcare.0 up to 7.2.0-tuxcare.3, plus listed versions 7.2.07.2.0-tuxcare.17.2.0-tuxcare.2 |
7.2.0-tuxcare.3 |
highchartsTuxCare:npm |
7.2.2-tuxcare.0 up to 7.2.2-tuxcare.3, plus listed versions 7.2.27.2.2-tuxcare.17.2.2-tuxcare.2 |
7.2.2-tuxcare.3 |
highchartsTuxCare:npm |
8.2.2-tuxcare.0 up to 8.2.2-tuxcare.3, plus listed versions 8.2.28.2.2-tuxcare.18.2.2-tuxcare.2 |
8.2.2-tuxcare.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, facts, references | OSV | |
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-29489 is a high vulnerability (CVSS 7.6) in Highcharts, published April 3, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.87%, the 58th percentile. Fixed in acorn 6.4.1.