Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. microlight
  4. ›
  5. CVE-2025-45526

CVE-2025-45526: Withdrawn Advisory: microlight allows a denial of service

June 17, 2025 (updated June 18, 2025)

Withdrawn Advisory

This advisory has been withdrawn because the proof of concept does not demonstrate a practical security impact. This link is maintained to preserve external references.

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

References

  • gist.github.com/Rootingg/483b09b760d031b62b172f2153f3ed2a
  • github.com/advisories/GHSA-wgc6-9f6w-h8hx
  • github.com/asvd/microlight
  • github.com/github/advisory-database/pull/5730
  • nvd.nist.gov/vuln/detail/CVE-2025-45526

Code Behaviors & Features

Detect and mitigate CVE-2025-45526 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.7

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/microlight/CVE-2025-45526.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:53 +0000.