Vulnerabilities in pkg:npm/darkreader

PACKAGE
Advisory Identifier: GHSA-x369-mcw8-8rvj
Advisory Summary

CVE-2025-68467 is a LOW (CVSS 3.4) dark reader gives users the vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Darkreader libraries in the npm ecosystem. The issue involves dark reader gives users the ability to request style sheets from local web servers. Remediation is available by upgrading affected packages to version 4.9.117.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/darkreader

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/darkreader. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-x369-mcw8-8rvj CVE-2025-68467 LOW Dark Reader gives users the ability to request style sheets from local web servers

CVE-2025-68467 at a Glance

CVE Identifier CVE-2025-68467
GHSA Identifier GHSA-x369-mcw8-8rvj
Severity LOW
CVSS v3.1 Base Score 3.4
CWE Classification CWE-668: Exposure of Resource to Wrong Sphere
Affected Product Darkreader
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 3.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-68467

To remediate this vulnerability, upgrade all affected Darkreader dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

darkreader fixed: 4.9.117
npm install darkreader@4.9.117
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 darkreader

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-68467, inspect your project dependencies using npm:

npm ls darkreader

Analyze the terminal output to locate any version of Darkreader in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.9.117), your application is affected.

Note: The npm ls darkreader 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-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Darkreader, 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

### Description Dark Reader versions prior to 4.9.117 included a behavior where a website could request a style sheet from a locally running web server, for example `http://localhost:8080/style.css`, If an address was available and returned a `text/css` content type. ### Patches The problem was fixed in version 4.9.117, released on December 3, 2025. Most users received the update automatically. Users running manual builds must upgrade to version 4.9.117 or later. The installed extension version number can be verified in Dark Reader's menu (More > All settings > About), browser settings, `chrome://extensions` or `about:addons` pages. Users are encouraged not to disable automatic extension updates and use the latest browser version, as browser releases typically include multiple security fixes of varying severity. ### NPM package The issue does not affect developers using the `darkreader` NPM package for website integration. Developers using the `setFetchMethod()` API must ensure the cross-origin requests are restricted to the intended scope. ### Custom forks Developers using custom forks of earlier versions of Dark Reader to build other extensions, or integrating it into their apps or browsers, should review their implementation to ensure cross-origin requests are handled securely. ### Acknowledgements Security research performed by [Brian Carpenter](https://x.com/geeknik) - [Deep Fork Cyber](https://deepforkcyber.com/).

CVE-2025-68467 Affected Darkreader Versions

1 component(s)
Fixed Versions:
4.9.117
Product / Package Ecosystem Affected Versions Fixed Version
darkreader
npm
< 4.9.117
4.9.117

References

Frequently Asked Questions

What is CVE-2025-68467?
CVE-2025-68467 is a security vulnerability in Darkreader involving Dark Reader gives users the ability to request style sheets from local web servers under CWE-668: Exposure of Resource to Wrong Sphere.
Which Darkreader versions are affected?
Affected versions include releases prior to 4.9.117 across affected packages: darkreader.
What version fixes CVE-2025-68467?
Upgrading to 4.9.117 (or the latest patched release for your respective branch) resolves the vulnerability.
Is darkreader affected?
Yes, darkreader is affected in releases prior to 4.9.117. Upgrade your dependency to 4.9.117 or later.
What is the CVSS score of CVE-2025-68467?
CVE-2025-68467 has a CVSS v3.1 base score of 3.4 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2025-68467?
CVE-2025-68467 is classified under CWE-668: Exposure of Resource to Wrong Sphere (The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.).
How can I check npm dependencies for CVE-2025-68467?
Run the dependency tree command: 'npm ls darkreader'. 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-x369-mcw8-8rvj",
  "modified" : "2026-03-05T15:26:18Z",
  "published" : "2026-03-04T18:18:23Z",
  "aliases" : [ "CVE-2025-68467" ],
  "summary" : "Dark Reader gives users the ability to request style sheets from local web servers",
  "details" : "### Description\nDark Reader versions prior to 4.9.117 included a behavior where a website could request a style sheet from a locally running web server, for example `http://localhost:8080/style.css`, If an address was available and returned a `text/css` content type.\n\n### Patches\nThe problem was fixed in version 4.9.117, released on December 3, 2025. Most users received the update automatically. Users running manual builds must upgrade to version 4.9.117 or later.\n\nThe installed extension version number can be verified in Dark Reader's menu (More > All settings > About), browser settings, `chrome://extensions` or `about:addons` pages.\n\nUsers are encouraged not to disable automatic extension updates and use the latest browser version, as browser releases typically include multiple security fixes of varying severity.\n\n### NPM package\n\nThe issue does not affect developers using the `darkreader` NPM package for website integration. Developers using the `setFetchMethod()` API must ensure the cross-origin requests are restricted to the intended scope.\n\n### Custom forks\n\nDevelopers using custom forks of earlier versions of Dark Reader to build other extensions, or integrating it into their apps or browsers, should review their implementation to ensure cross-origin requests are handled securely.\n\n### Acknowledgements\nSecurity research performed by [Brian Carpenter](https://x.com/geeknik) - [Deep Fork Cyber](https://deepforkcyber.com/).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "darkreader"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.9.117"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/darkreader/darkreader/security/advisories/GHSA-x369-mcw8-8rvj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-68467"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/darkreader/darkreader"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-346", "CWE-668" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-04T18:18:23Z",
    "nvd_published_at" : "2026-03-04T22:16:11Z"
  }
}