Vulnerability · Published Jun 17, 2025 · Assigned by mitre
CVE-2025-45525
Low 2.9
In plain English
A low-severity null pointer dereference in microlight from asvd. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | microlight | no fix listed | GHSA-64x7-m7rh-9m83 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| asvd | microlight | 0 – through 0.0.7 |
Weakness: CWE-476 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L