Live threats

All CVEs / Thoughtbot

CVE-2015-2963Thoughtbot Paperclip

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Jul 10, 2015
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Paperclip.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems paperclip < 4.2.2 4.2.2 gem "paperclip", ">= 4.2.2"

Per OSV / GitHub Advisories (GHSA-6jvm-3j5h-79f6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
thoughtbotpaperclip≤ 4.2.1

Official sources

References

Links published by the sources. Open them with care.