2.9low
A NULL pointer dereference vulnerability has been identified in the JavaScript library microlight version 0.0.7, a lightweight syntax highl…
- Severity
- 2.9low CVSS:3.1 by mitre
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-64x7-m7rh-9m83
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
| Product or package | Versions | Reported by |
|---|---|---|
| asvd microlight | up to 0.0.7 | CVE List |
| microlight (npm) | up to 0.0.7 | GitHub Advisory Database |
All scores
| mitre | 2.9low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | low CVSS:4.0 | 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/E:P |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Withdrawn Advisory
This advisory has been withdrawn because a website owner has to set CSS color values. The proof of concept doesn't demonstrate how a malicious user who is not the website owner can cause an application crash. This link has been maintained to preserve external references.
Original Description
A null pointer dereference vulnerability was discovered in microlight.js (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.
NVD (es)
Se descubrió una vulnerabilidad de desreferencia de puntero nulo en microlight.js (versión 0.0.7), una librería ligera de resaltado de sintaxis. Al procesar elementos con valores de color CSS no estándar, la librería no valida el resultado de una coincidencia de expresión regular antes de acceder a sus propiedades, lo que provoca un error de tipo no detectado y un posible bloqueo de la aplicación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-45525 changed 2025-08-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-64x7-m7rh-9m83 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-45525 changed 2026-06-17 | Public domain |