{"id":"CVE-2018-20744","aliases":["GHSA-927h-x4qj-r242","GO-2023-1792"],"url":"https://o3.security/vulnerability/CVE-2018-20744","summary":"github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error","details":"The Olivier Poitrey Go CORS handler through 1.3.0 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.","published":"2019-01-28T08:29:00.230Z","modified":"2026-10-20T10:49:54.743515008Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":{"score":0.00714,"percentile":0.50595,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/gofiber/fiber/v2","fixedVersion":"2.43.0"},{"ecosystem":"Go","name":"github.com/rs/cors","fixedVersion":"1.5.0"}],"fix":{"url":"https://github.com/gofiber/fiber/pull/2339","label":"gofiber/fiber#2339"},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106834"},{"type":"ADVISORY","url":"https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf"},{"type":"REPORT","url":"https://github.com/rs/cors/issues/55"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20744"},{"type":"WEB","url":"https://github.com/gofiber/fiber/issues/2338"},{"type":"WEB","url":"https://github.com/gofiber/fiber/pull/2339"},{"type":"WEB","url":"https://github.com/rs/cors/pull/57"},{"type":"PACKAGE","url":"https://github.com/gofiber/fiber"},{"type":"WEB","url":"https://web.archive.org/web/20200227091122/http://www.securityfocus.com/bid/106834"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:49:54.743515008Z"}}