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.
References
Configurations
No configuration.
History
26 Jun 2025, 16:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a - |
18 Jun 2025, 19:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
CWE | CWE-770 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 2.9 |
Summary |
|
|
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. 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