CVE-2018-20801:
Regular Expression Denial of Service in highcharts
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78957%
CWE
Published
3/18/2019
Updated
4/11/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
highcharts | npm | < 6.1.0 | 6.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows removal of three backtracking-prone regex patterns (clsRegex, styleRegex, hrefRegex) from SVGRenderer.js
. These regexes used .* quantifiers that could cause exponential backtracking when matching malformed attributes in SVG text elements. The vulnerability was fixed by replacing them with a manual attribute parser (parseAttribute
function). The CWE-1333 classification and advisory details confirm this was an inefficient regex complexity issue in SVG text handling.