All reports
Medium

paperclip Cross-site Scripting vulnerability

Affected versions

RubyGemspaperclip
Affected versions
< 4.2.2
Fixed version
4.2.2

Exploitation

CVE-2015-2963

Probability of exploitation in the next 30 days: 2.11%

FIRST EPSS · 2026-11-22

Description

The thoughtbot paperclip gem before 4.2.2 for Ruby does not consider the content-type value during media-type validation, which allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed value, as demonstrated by image/jpeg.

Links