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

CVE-2025-45525: Withdrawn Advisory: microlight.js has a null pointer dereference vulnerability

June 17, 2025 (updated June 20, 2025)

Withdrawn Advisory

This advisory has been withdrawn because a website owner has to set CSS color values. The proof of concept doesn’t demonstrate how a malicious user who is not the website owner can cause an application crash. This link has been maintained to preserve external references.

Original Description

A null pointer dereference vulnerability was discovered in microlight.js (version 0.0.7), a lightweight syntax highlighting library. When processing elements with non-standard CSS color values, the library fails to validate the result of a regular expression match before accessing its properties, leading to an uncaught TypeError and potential application crash.

References

  • gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424
  • github.com/advisories/GHSA-64x7-m7rh-9m83
  • github.com/asvd/microlight
  • github.com/github/advisory-database/pull/5730
  • nvd.nist.gov/vuln/detail/CVE-2025-45525

Code Behaviors & Features

Detect and mitigate CVE-2025-45525 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.

Impact 2.9 LOW

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

npm/microlight/CVE-2025-45525.yml

Spotted a mistake? Edit the file on GitLab.

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

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