CVE-2015-2963
thoughtbot paperclip < 4.2.2 - Cross-Site Scripting via Spoofed Content-Type
Title source: llmDescription
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.
References (6)
Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/75304
Vendor Advisory x_refsource_confirm
https://robots.thoughtbot.com/paperclip-security-release
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57
Vendor Advisory third-party-advisory
x_refsource_jvn
http://jvn.jp/en/jp/JVN83881261/index.html
Vendor Advisory third-party-advisory
x_refsource_jvndb
http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088
Vendor Advisory mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2015/06/19/3
Scores
EPSS
0.0048
EPSS Percentile
65.3%
Details
CWE
CWE-79
Status
published
Products (2)
rubygems/paperclip
0 - 4.2.2RubyGems
thoughtbot/paperclip
< 4.2.1
Published
Jul 10, 2015
Tracked Since
Feb 18, 2026