CVE-2025-45526 Details
Description
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.
A denial-of-service vulnerability has been identified in the Microlight JavaScript library, specifically in version 0.0.7. This library is used for syntax highlighting but lacks a mechanism to limit the size of text it processes in HTML elements with the microlight class. When extremely large content, such as 100 million characters, is handled, the reset function in microlight.js consumes excessive memory and CPU resources, leading to browser crashes or unresponsiveness. An attacker can exploit this vulnerability by convincing a user to visit a malicious webpage containing a microlight element filled with large content, causing a denial-of-service condition.
Users are advised to avoid using Microlight version 0.0.7 in environments where untrusted content may be processed. Implement server-side validation to limit content size in microlight elements. Consider switching to alternative libraries like Prism.js or Highlight.js until a fix is available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 17, 2025CISA-ADP
Assessed Jun 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a | CISA-ADP | ExploitTechnical Analysis |
| https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a | [email protected] | ExploitTechnical Analysis |
| https://github.com/github/advisory-database/pull/5730 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dmitry Prokashev microlight | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2025 | CVE Modified | CISA-ADP |
| Jun 18, 2025 | CVE Modified | [email protected] |
| Jun 17, 2025 | New CVE Received | [email protected] |
Volerion