ADVISORIES

Vulnerability

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.

6 advisories report this vulnerability, across 3 ecosystems.

Critical severity All Debian 2Go 2Ubuntu 2

Advisories in Ubuntu

  • UBUNTU-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/*…

    CVE-2019-25211 Ubuntu Updated 24 November 2026
  • USN-8983-1

    golang-github-gin-contrib-cors vulnerability

    CVE-2019-25211 Ubuntu Updated 24 November 2026

References