CVE-2025-47908
JSON

7.5high

Denial of service via malicious preflight requests in github.com/rs/cors

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GHSA-mh55-gqvf-xfwmGO-2024-2883

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.

Affected

Product or packageVersionsReported by
github.com/rs/corsfrom 1.9.0 before 1.11.0CVE List
github.com/rs/cors (Go)from 1.9.0 before 1.11.0GitHub Advisory Database, Go Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubmedium rating

Classification

CWE-770CWE-1325

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El middleware genera una cantidad prohibitiva de asignaciones de montón al procesar solicitudes preflight maliciosas que incluyen un encabezado ACRH (Access-Control-Request-Headers) cuyo valor contiene muchas comas. Los atacantes pueden abusar de este comportamiento para generar una carga excesiva en el middleware/servidor con el fin de provocar una denegación de servicio.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-47908 changed 2025-08-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-mh55-gqvf-xfwm changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2883 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-47908 changed 2026-06-17Public domain