CVE-2023-49090 — Cross-site Scripting in Carrierwave
Severity
6.1MEDIUMNVD
CNA6.8OSV8.8
EPSS
0.1%
top 65.62%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedNov 29
Latest updateMay 7
Description
CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. CarrierWave has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in `allowlisted_content_type?` determines Content-Type permissions by performing a partial match. If the `content_type` argument of `allowlisted_content_type?` is passed a value crafted by the attacker, Content-Types not included in the `content_type_allowlist` will be allowed. This issue has been patch…
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7
Affected Packages3 packages
Patches
🔴Vulnerability Details
9OSV▶
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained↗2024-03-25
GHSA▶
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained↗2024-03-25
OSV▶
CVE-2024-29034: CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks↗2024-03-24
CVEList▶
CarrierWave's Content-Type allowlist bypass vulnerability which possibly leads to XSS remained↗2024-03-24