CVE-2025-45525

low

Description

A NULL pointer dereference vulnerability has been identified in the JavaScript library microlight version 0.0.7, a lightweight syntax highlighting library. When processing elements with non-standard CSS color values, the library fails to validate the result of a regular expression match before accessing its properties, leading to an uncaught TypeError and potential application crash. NOTE: this is disputed by multiple parties because there is no common scenario in which an adversary can insert those non-standard values.

References

https://github.com/github/advisory-database/pull/5730

https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424

Details

Source: Mitre, NVD

Published: 2025-06-17

Updated: 2025-06-20

Risk Information

CVSS v2

Base Score: 1.2

Vector: CVSS2#AV:L/AC:H/Au:N/C:N/I:N/A:P

Severity: Low

CVSS v3

Base Score: 4.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Severity: Medium

CVSS v4

Base Score: 1.2

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Severity: Low

EPSS

EPSS: 0.00018