{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-25211","published":"2024-06-29T00:15:02.107000Z","last_modified":"2026-06-17T02:31:45.350000Z","status":"Deferred","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-346"],"cpes":[],"cpes_truncated":false,"vendors":["gin-contrib"],"products":["gin-contrib/cors"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"epss":{"score":0.00431,"percentile":0.29182,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-869c-j7wc-8jqv","ecosystem":"Go","name":"github.com/gin-contrib/cors","purl":"pkg:golang/github.com/gin-contrib/cors","ranges":[{"introduced":"0","fixed":"1.6.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2955","ecosystem":"Go","name":"github.com/gin-contrib/cors","purl":"pkg:golang/github.com/gin-contrib/cors","ranges":[{"introduced":"0","fixed":"1.6.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-869c-j7wc-8jqv","ecosystem":"Go","name":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","ranges":[{"introduced":"0","fixed":"1.6.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2019-25211/","html_en":"/en/cve/CVE-2019-25211/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-25211","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-25211"},"untrusted":{"vendor_name":"gin-contrib","product_name":"cors","desc_en":"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.","affected":[{"untrusted_vendor":"gin-contrib","untrusted_product":"cors","versions":[]}],"references":[{"url":"https://github.com/gin-contrib/cors/commit/27b723a473efd80d5a498fa9f5933c80204c850d","tags":[]},{"url":"https://github.com/gin-contrib/cors/compare/v1.5.0...v1.6.0","tags":[]},{"url":"https://github.com/gin-contrib/cors/pull/106","tags":[]},{"url":"https://github.com/gin-contrib/cors/pull/57","tags":[]},{"url":"https://github.com/gin-contrib/cors/releases/tag/v1.6.0","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00024.html","tags":[]}]}}