CVE-2025-45525

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.
Configurations

No configuration.

History

20 Jun 2025, 12:15

Type Values Removed Values Added
Summary
  • (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.
Summary (en) 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. (en) 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.
CVSS v2 : unknown
v3 : 4.3
v2 : unknown
v3 : 2.9
References
  • () https://github.com/github/advisory-database/pull/5730 -

18 Jun 2025, 14:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.3
CWE CWE-476

17 Jun 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-17 20:15

Updated : 2025-06-20 12:15


NVD link : CVE-2025-45525

Mitre link : CVE-2025-45525

CVE.ORG link : CVE-2025-45525


JSON object : View

Products Affected

No product.

CWE
CWE-476

NULL Pointer Dereference