CVE-2025-45525 Null dereference in microlight
A null pointer dereference in the microlight library can cause an application crash when processing specific CSS values, though exploitation is disputed.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-45525?
CVE-2025-45525 is a low-severity vulnerability in asvd microlight, published on 17 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2025-45525?
How do I fix CVE-2025-45525?
No fix has been published for CVE-2025-45525 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-45525 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-45525 exists.