logo

CVE-2025-45526 microlight

Package

Manager: npm
Name: microlight
Vulnerable Version: <0

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R

CVSS v4.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

EPSS: 0.0002 pctl0.0354

Details

Withdrawn Advisory: microlight allows a denial of service ## 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.

Metadata

Created: 2025-06-17T21:32:30Z
Modified: 2025-06-18T17:11:34Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-wgc6-9f6w-h8hx/GHSA-wgc6-9f6w-h8hx.json
CWE IDs: ["CWE-770"]
Alternative ID: GHSA-wgc6-9f6w-h8hx
Finding: F002
Auto approve: 1