# CVE-2025-45525: A NULL pointer dereference vulnerability has been identified in the JavaScript library microlight version 0.0.7, a lightweight syntax highl…

- Severity: Low 2.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-06-17T00:00:00.000Z
- Modified: 2026-09-10T03:50:24.889Z
- Also known as: GHSA-64x7-m7rh-9m83
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- asvd microlight: up to 0.0.7
- microlight (npm): up to 0.0.7

## Every score

- mitre: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424> (web)
- <https://github.com/github/advisory-database/pull/5730> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-45525> (advisory)
- <https://github.com/asvd/microlight> (package)

## Sources

- CVE List: [CVE-2025-45525](https://www.cve.org/CVERecord?id=CVE-2025-45525), CVE Terms of Use, modified 2025-08-26
- GitHub Advisory Database: [GHSA-64x7-m7rh-9m83](https://github.com/advisories/GHSA-64x7-m7rh-9m83), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-45525](https://nvd.nist.gov/vuln/detail/CVE-2025-45525), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-45525 · Whole record: https://cve.day/CVE-2025-45525.json · Rebuilt by cve.day 2026-11-25T22:58:59.321Z
