CVE-2025-45525: Withdrawn Advisory Microlight.js Has A Null Pointer Vulnerability

LOW
Advisory Identifier: GHSA-64x7-m7rh-9m83
CWE-476
Published
Advisory Summary

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

CVE-2025-45525 at a Glance

CVE Identifier CVE-2025-45525
GHSA Identifier GHSA-64x7-m7rh-9m83
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-476: NULL Pointer Dereference
Affected Product Withdrawn Advisory
Package Ecosystem npm
Published Date
Last Updated

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.

microlight fixed: Latest secure release
npm install microlight@Latest secure release
Verify Direct and Transitive Dependencies

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

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

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?
CVE-2025-45525 is a security vulnerability in Withdrawn Advisory involving microlight.js has a null pointer dereference vulnerability under CWE-476: NULL Pointer Dereference.
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: microlight.
What version fixes CVE-2025-45525?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is microlight affected?
Yes, microlight is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-45525?
CVE-2025-45525 is classified under CWE-476: NULL Pointer Dereference (The product dereferences a pointer that it expects to be valid but is NULL.).
How can I check npm dependencies for CVE-2025-45525?
Run the dependency tree command: 'npm ls microlight'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}