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., 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.
Published:Jun 28, 2024
Last Modified:Apr 15, 2026
EPS:Jun 28, 2024
EPSS Score:0.00388
CVSS Score:9.1
Affected Products
Vendor
Product
Action
Vendor
Gin-contrib
Product
Cors
Gin-contrib
Cors
Vendor
Redhat
Product
Rhmt
Redhat
Rhmt
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
