CVE Catalog

CVE-2026-61782

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

27th percentile - higher than 27% of all known CVEs

Summary

Rsdoctor prior to version 1.5.16 starts a default HTTP report server that binds to all network interfaces (0.0.0.0) and exposes a POST /api/data/key endpoint without authentication and with wildcard CORS. This allows a remote attacker to retrieve full source code of compiled JavaScript modules, build configuration, and other sensitive data. The server is enabled by default in non-CI environments.

Risk Assessment

The organization is at risk of source code and sensitive configuration leakage, which could facilitate attacks on applications. Lack of authentication and broad network exposure increase the risk.

Recommendation

Upgrade Rsdoctor to version 1.5.16 or later. Also consider disabling the report server in production environments or restricting access to it.

Related vulnerabilities

Original NVD description (English source)

Rsdoctor is a build analyzer tailored for projects built with Rspack. Prior to version 1.5.16, 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. Version 1.5.16 patches the issue.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS