CVE-2015-2963
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
10/07/2015
Last modified:
12/04/2025
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.
Impact
Base Score 2.0
4.30
Severity 2.0
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:thoughtbot:paperclip:*:*:*:*:*:ruby:*:* | 4.2.1 (including) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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