Vulnerability · Published Jun 17, 2025 · Assigned by mitre

CVE-2025-45526

Low 2.9

In plain English

A low-severity resource allocation without limits in microlight from asvd. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).

Severity (CVSS 3.1)2.9Low
Exploit odds (30 days)0.1%top 96.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmmicrolightno fix listedGHSA-wgc6-9f6w-h8hx

Affected products (as reported)

VendorProductVersions
asvd microlight 0 – through 0.0.7

Weakness: CWE-770 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

References