Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @rsdoctor/rspack-plugin
  4. ›
  5. CVE-2026-61782

CVE-2026-61782: @rsdoctor/rspack-plugin has Unauthenticated HTTP API that Exposes Project Source Code and Build Metadata

September 24, 2026

The default Rsdoctor report HTTP server started by @rsdoctor/rspack-plugin binds to all network interfaces (0.0.0.0) and serves a POST /api/data/key endpoint with no authentication and wildcard CORS (Access-Control-Allow-Origin: *). Any network-adjacent or remote attacker can send a single unauthenticated request to retrieve the full source code of all compiled JavaScript modules (moduleCodeMap), serialized build configuration (configs), error details, and other sensitive build metadata. This server is enabled by default in non-CI environments, requiring no special configuration from the victim developer.

References

  • github.com/advisories/GHSA-jmg2-rcxh-w8q3
  • github.com/web-infra-dev/rsdoctor/commit/602eb306a49b6d19c4c1ea9d8ee0f8caab9e208f
  • github.com/web-infra-dev/rsdoctor/commit/e9aaef21f85becfe43a46f716509f41ea5edeb40
  • github.com/web-infra-dev/rsdoctor/pull/1744
  • github.com/web-infra-dev/rsdoctor/pull/1758
  • github.com/web-infra-dev/rsdoctor/security/advisories/GHSA-jmg2-rcxh-w8q3
  • nvd.nist.gov/vuln/detail/CVE-2026-61782

Code Behaviors & Features

Detect and mitigate CVE-2026-61782 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.16

Fixed versions

  • 1.5.16

Solution

Upgrade to version 1.5.16 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/@rsdoctor/rspack-plugin/CVE-2026-61782.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 00:22:10 +0000.