What’s Vulnerable › Vulnerabilities
CVE-2015-2963
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2015-07-10 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- thoughtbot paperclip ruby gem: through 4.2.1
References
- http://jvn.jp/en/jp/JVN83881261/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088
- http://openwall.com/lists/oss-security/2015/06/19/3
- http://www.securityfocus.com/bid/75304
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57
- https://robots.thoughtbot.com/paperclip-security-release
- http://jvn.jp/en/jp/JVN83881261/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088
- http://openwall.com/lists/oss-security/2015/06/19/3
- http://www.securityfocus.com/bid/75304
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57
- https://robots.thoughtbot.com/paperclip-security-release
Get alerted when CVE-2015-2963 or the next vulnerability affects your stack