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.
https://github.com/github/advisory-database/pull/5730
https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424
Published: 2025-06-17
Updated: 2025-06-20
Base Score: 1.2
Vector: CVSS2#AV:L/AC:H/Au:N/C:N/I:N/A:P
Severity: Low
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
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: 0.00018