Vulnerability 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.
CVSS Score
LOW
Related Weaknesses (CWE)
References
- https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a
- https://github.com/github/advisory-database/pull/5730
- https://gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a
FAQ
What is CVE-2025-45526?
CVE-2025-45526 is a vulnerability with a CVSS score of 2.9 (LOW). 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 i...
How severe is CVE-2025-45526?
CVE-2025-45526 has been rated LOW with a CVSS base score of 2.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-45526?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.