Vulnerabilities in pkg:npm/microlight
PACKAGECVE-2025-45525 is a LOW microlight.js has a null pointer vulnerability (CWE-476: NULL Pointer Dereference) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves microlight.js has a null pointer dereference vulnerability. Remediation is available in the latest vendor maintenance releases.
pkg:npm/microlight
Vulnerability advisories affecting package pkg:npm/microlight. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-64x7-m7rh-9m83 | CVE-2025-45525 | LOW | Withdrawn Advisory: microlight.js has a null pointer dereference vulnerability |
| GHSA-wgc6-9f6w-h8hx | CVE-2025-45526 | LOW | Withdrawn Advisory: microlight allows a denial of service |
CVE-2025-45525 at a Glance
How to Fix CVE-2025-45525
To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install microlight@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls microlight
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-45525, inspect your project dependencies using npm:
npm ls microlight
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls microlight command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-45525 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
microlight
|
npm |
≤ 0.0.7
|
|
References
Frequently Asked Questions
What is CVE-2025-45525?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2025-45525?
Is microlight affected?
What CWE is associated with CVE-2025-45525?
How can I check npm dependencies for CVE-2025-45525?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-64x7-m7rh-9m83",
"modified" : "2025-06-20T14:12:44Z",
"published" : "2025-06-17T21:32:30Z",
"withdrawn" : "2025-06-18T18:46:37Z",
"aliases" : [ "CVE-2025-45525" ],
"summary" : "Withdrawn Advisory: microlight.js has a null pointer dereference vulnerability",
"details" : "## Withdrawn Advisory\nThis 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.\n\n## Original Description\nA 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "microlight"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-45525"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/pull/5730"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/Rootingg/843368931f70886bed3cf982f10a4424"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/asvd/microlight"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-476" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-17T22:36:31Z",
"nvd_published_at" : "2025-06-17T20:15:32Z"
}
}