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.
Problem types
CWE-476 NULL Pointer Dereference
Product status
Any version
References
gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424
github.com/github/advisory-database/pull/5730
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.