microlight · Vulnerability
cve-program · CVE-2025-45525
PublishedA NULL pointer dereference vulnerability has been identified in the JavaScript library microlight 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. NOTE: this is disputed by multiple parties because there is no common scenario in which an adversary can insert those non-standard values.
Read the publisher's advisoryeuvd · EUVD-2025-18558
PublishedA NULL pointer dereference vulnerability has been identified in the JavaScript library microlight 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. NOTE: this is disputed by multiple parties because there is no common scenario in which an adversary can insert those non-standard values.
Read the publisher's advisorynvd · CVE-2025-45525
PublishedA NULL pointer dereference vulnerability has been identified in the JavaScript library microlight 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. NOTE: this is disputed by multiple parties because there is no common scenario in which an adversary can insert those non-standard values.
Read the publisher's advisoryosv · GHSA-64x7-m7rh-9m83
Withdrawn## 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-45525 · CVE overview and exploitation status
cve-program · CVE-2025-45525
- https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424
- https://github.com/github/advisory-database/pull/5730
euvd · EUVD-2025-18558
- https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424
- https://github.com/github/advisory-database/pull/5730
nvd · CVE-2025-45525
- https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424
- https://github.com/github/advisory-database/pull/5730
osv · GHSA-64x7-m7rh-9m83
Related changes
Linked by CVE identifierNo related changes are available here.