CVE-2025-45526
LOW 2.9CVSS 3.1Withdrawn Advisory: microlight allows a denial of service
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.
- Published
- 17 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-wgc6-9f6w-h8hx
- Sources
- NVDJSONOSV GHSA-wgc6-9f6w-h8hxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | LOW 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | microlight | <= 0.0.7 |
References
- https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a · WEB
- https://github.com/github/advisory-database/pull/5730 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-45526 · ADVISORY
- https://github.com/asvd/microlight · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 17 Jun 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jun 2025)