CVE-2025-45526

A denial of service (DoS) vulnerability has been identified in the JavaScript library microlight version 0.0.7. This library, used for syntax highlighting, does not limit the size of textual content it processes in HTML elements with the microlight class. When excessively large content (e.g., 100 million characters) is processed, the reset function in microlight.js consumes excessive memory and CPU resources, causing browser crashes or unresponsiveness. An attacker can exploit this vulnerability by tricking a user into visiting a malicious web page containing a microlight element with large content, resulting in a denial of service. NOTE: this is disputed by multiple parties because a large amount of memory and CPU resources is expected to be needed for content of that size.
Configurations

No configuration.

History

26 Jun 2025, 16:15

Type Values Removed Values Added
References () https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a - () https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a -

18 Jun 2025, 19:15

Type Values Removed Values Added
References
  • () https://github.com/github/advisory-database/pull/5730 -
CWE CWE-770
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 2.9
Summary
  • (es) Se ha identificado una vulnerabilidad de denegación de servicio (DoS) en la librería de JavaScript microlight versión 0.0.7. Esta librería, utilizada para el resaltado de sintaxis, no limita el tamaño del contenido textual que procesa en elementos HTML con la clase microlight. Cuando se procesa contenido excesivamente grande (p. ej., 100 millones de caracteres), la función de reinicio de microlight.js consume una cantidad excesiva de memoria y recursos de CPU, lo que provoca bloqueos o incapacidad de respuesta del navegador. Un atacante puede explotar esta vulnerabilidad engañando al usuario para que visite una página web maliciosa que contenga un elemento microlight con contenido extenso, lo que resulta en una denegación de servicio.
Summary (en) A denial of service (DoS) vulnerability has been identified in the JavaScript library microlight version 0.0.7. This library, used for syntax highlighting, does not limit the size of textual content it processes in HTML elements with the microlight class. When excessively large content (e.g., 100 million characters) is processed, the reset function in microlight.js consumes excessive memory and CPU resources, causing browser crashes or unresponsiveness. An attacker can exploit this vulnerability by tricking a user into visiting a malicious web page containing a microlight element with large content, resulting in a denial of service. (en) A denial of service (DoS) vulnerability has been identified in the JavaScript library microlight version 0.0.7. This library, used for syntax highlighting, does not limit the size of textual content it processes in HTML elements with the microlight class. When excessively large content (e.g., 100 million characters) is processed, the reset function in microlight.js consumes excessive memory and CPU resources, causing browser crashes or unresponsiveness. An attacker can exploit this vulnerability by tricking a user into visiting a malicious web page containing a microlight element with large content, resulting in a denial of service. NOTE: this is disputed by multiple parties because a large amount of memory and CPU resources is expected to be needed for content of that size.

17 Jun 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-17 20:15

Updated : 2025-06-26 16:15


NVD link : CVE-2025-45526

Mitre link : CVE-2025-45526

CVE.ORG link : CVE-2025-45526


JSON object : View

Products Affected

No product.

CWE
CWE-770

Allocation of Resources Without Limits or Throttling