VYPR
Critical severity9.1OSV Advisory· Published Jun 29, 2024· Updated Apr 15, 2026

CVE-2019-25211

CVE-2019-25211

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/gin-gonic/ginGo
< 1.6.01.6.0
github.com/gin-contrib/corsGo
< 1.6.01.6.0

Affected products

3

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.