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.
Metrics
CVSS 2.0 4.3/10
AV:N/AC:M/Au:N/C:N/I:P/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://jvn.jp/en/jp/JVN83881261/index.htmlVendor Advisory
- http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088Vendor Advisory
- http://openwall.com/lists/oss-security/2015/06/19/3Vendor Advisory
- http://www.securityfocus.com/bid/75304
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57Exploit, Vendor Advisory
- https://robots.thoughtbot.com/paperclip-security-releaseVendor Advisory
- http://jvn.jp/en/jp/JVN83881261/index.htmlVendor Advisory
- http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088Vendor Advisory
- http://openwall.com/lists/oss-security/2015/06/19/3Vendor Advisory
- http://www.securityfocus.com/bid/75304
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57Exploit, Vendor Advisory
- https://robots.thoughtbot.com/paperclip-security-releaseVendor Advisory
Timeline
- Published
- Jul 10, 2015
- Last modified
- Jun 17, 2026
- NVD status
- Modified