Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-44587
carrierwave project carrierwave

Score6.1 Medium
CVSS 3.1
Exploit probability (EPSS)0.34%
within the next 30 days
CategoryCross-site scripting (XSS)
Published17 June 2026
Last modified: 25 October 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.

Impact is limited: reading confidential data, modifying data.

The impact can spread beyond the vulnerable component.

Weakness type: Cross-site scripting (XSS).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

CarrierWave is a framework to upload files from Ruby applications. In versions prior to 2.2.7 and 3.1.3, the content_type_denylist check fails to escape regex metacharacters in string entries, causing the denylist to silently not match the content types it is intended to block. In lib/carrierwave/uploader/content_type_denylist.rb:57, denylist entries are interpolated directly into a regex without Regexp.quote or anchoring, so an entry such as image/svg+xml becomes the pattern /image\/svg+xml/, in which + is treated as a quantifier rather than a literal character and therefore never matches the real MIME type image/svg+xml. This is inconsistent with the allowlist implementation, which correctly applies both Regexp.quote and a \A anchor. Other content types containing regex metacharacters, such as application/xhtml+xml, are affected as well. As a result, any application that relies on content_type_denylist to block image/svg+xml, most commonly to prevent stored XSS, is silently unprotected. An attacker can upload an SVG file containing arbitrary JavaScript; if the application serves that SVG inline from its own origin, the script executes in the victim's browser, resulting in stored XSS. This issue has been fixed in versions 2.2.7 and 3.1.3.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness: CWE-79 – Cross-site scripting (XSS), CWE-184, CWE-625

Affected products

VendorProductVersions
carrierwave projectcarrierwave<2.2.7
carrierwave projectcarrierwave>=3.0.0 <3.1.3

Sources

Latest in the same category

  • CVE-2026-133643 Medium 6.1
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the doubleselect tag with the doubleMultiple attribute set, the value the tag…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-133639 Medium 6.1
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the Javatemplates plugin, an additional attribute passed to a UI tag, that is…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-93583 High 7.6
    A stored Cross-Site Scripting (XSS) vulnerability has been identified in EV Observe before 2026.2. An authenticated user with low privileges can inject malicious JavaScript code into a user profile field. The injected…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-124264 Medium 5.3
    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in silverplugins217 Dynamic Text Field For Contact Form 7 dynamic-text-field-for-contact-form-7 allows Code Injection.This…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-79096 Not scored
    Improper neutralization of alternate XSS syntax vulnerability in Apache OpenMeetings. This issue affects Apache OpenMeetings: from 3.3.0 before 9.2.0. Apache OpenMeetings Docker: from 5.1.0 before 9.2.0. The attacker…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-134903 Medium 4.8
    baserCMS contains a cross-site scripting vulnerability in the redirection process after mail form submission, which may allow an attacker to execute arbitrary scripts in the web browser of a user who accesses a website…
    Cross-site scripting (XSS) · 30 November 2026