CVE-2025-45525 Details
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.
A null pointer dereference vulnerability exists in Microlight.js version 0.0.7, a lightweight syntax highlighting library. The issue arises when the library processes elements with non-standard CSS color values. It fails to validate the outcome of a regular expression match before accessing its properties, which leads to an uncaught TypeError and a potential application crash. This vulnerability can cause a denial-of-service condition by crashing browser tabs running applications that use Microlight.js, creating unstable user experiences, and potentially leading to data loss if a user has unsaved work in the affected browser tab.
The vulnerability can be addressed by adding proper validation for the 'colorArr' variable before accessing its properties. The updated code should include a default value in case the regular expression match fails.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 17, 2025CISA-ADP
Assessed Jun 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424 | [email protected] | ExploitRemedyTechnical Description |
| https://github.com/github/advisory-database/pull/5730 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| microlight.js | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | CVE Modified | CISA-ADP |
| Jun 20, 2025 | CVE Modified | [email protected] |
| Jun 18, 2025 | CVE Modified | CISA-ADP |
| Jun 17, 2025 | New CVE Received | [email protected] |
Volerion