🛡️ GO-2024-2813 — cors
Description
Some CORS middleware allow untrusted origins in github.com/jub0bs/cors
Some CORS middleware (more specifically those created by specifying two or more origin patterns whose hosts share a proper suffix) incorrectly allow some untrusted origins, thereby opening the door to cross-origin attacks from the untrusted origins in question.
For example, specifying origin patterns "https://foo.com" and "https://bar.com" (in that order) would yield a middleware that would incorrectly allow untrusted origin "https://barfoo.com".
Affected software
GO-2024-2813 is recorded against 1 package.
- github.com/jub0bs/cors
Timeline and source
Published on 21 May 2024 and last revised on 4 February 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| github.com/jub0bs/cors | — | — |
References
Similar Threats
- Critical GHSA-vhxv-fg4m-p2w8
More GO 2024 advisories
Browse all of GO 2024 in the advisory index.
Free Vulnerability Check
Is your site affected by GO-2024-2813?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GO-2024-2813 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.