Back
CVE-2019-25211
parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g.,…
Critical9.1EPSS 0.43%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g., https://example.community/* is allowed when the intention is that only https://example.com/* should be allowed, and http://localhost.example.com/* is allowed when the intention is that only http://localhost/* should be allowed.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVDNVD · Deferred | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.43% · top 62% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/gin-contrib/corsGHSA-869c-j7wc-8jqv (opens in a new tab)
- Gogithub.com/gin-gonic/ginGHSA-869c-j7wc-8jqv (opens in a new tab)
References (6)
- https://github.com/gin-contrib/cors/pull/57 (opens in a new tab)x_transferred
- https://github.com/gin-contrib/cors/pull/106 (opens in a new tab)x_transferred
- https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0 (opens in a new tab)x_transferred
- https://github.com/gin-contrib/cors/releases/tag/v1.6.0 (opens in a new tab)x_transferred
- https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-869c-j7wc-8jqv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-25211)Record last updated .