VULNERABILITY INTELLIGENCE

CVE-2019-25211

CVSS score9.1 CRITICAL
EPSS probability0.43%
CISA KEVNot currently listed
Published2024-06-29
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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.

Weakness classification

  • CWE-346: Origin Validation Error

Primary references