# CVE-2025-45526: A denial of service (DoS) vulnerability has been identified in the JavaScript library microlight version 0.0.7.

- Severity: Low 2.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-17T00:00:00.000Z
- Modified: 2026-09-10T03:50:25.384Z
- Also known as: GHSA-wgc6-9f6w-h8hx
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- asvd microlight: up to 0.0.7
- microlight (npm): up to 0.0.7

## Every score

- mitre: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a> (exploit, 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)

## Sources

- CVE List: [CVE-2025-45526](https://www.cve.org/CVERecord?id=CVE-2025-45526), CVE Terms of Use, modified 2025-06-26
- GitHub Advisory Database: [GHSA-wgc6-9f6w-h8hx](https://github.com/advisories/GHSA-wgc6-9f6w-h8hx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-45526](https://nvd.nist.gov/vuln/detail/CVE-2025-45526), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-45526 · Whole record: https://cve.day/CVE-2025-45526.json · Rebuilt by cve.day 2026-11-25T22:58:59.321Z
