CVE-2025-47908
Denial of service via malicious preflight requests in github.com/rs/cors
EPSS 0.38%
Description
Middleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.
How to fix CVE-2025-47908
To remediate CVE-2025-47908, upgrade the affected package to a fixed version below.
- Go/github.com/rs/cors—upgrade to 1.11.0 or later
- —upgrade to 1.11.0 or later
Is CVE-2025-47908 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 1.9.0, < 1.11.0
- >= 1.9.0, < 1.11.0