CVE-2015-2963
MEDIUM 4.3CVSS 2.0paperclip Cross-site Scripting vulnerability
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.
- Published
- 10 Jul 2015
- Last modified
- 17 Jun 2026
- Assigned by
- vultures@jpcert.or.jp
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-6jvm-3j5h-79f6
- Sources
- NVDJSONOSV GHSA-6jvm-3j5h-79f6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thoughtbot | paperclipcpe:2.3:a:thoughtbot:paperclip:*:*:*:*:*:ruby:*:* |
<= 4.2.1 | |
| OSV | RubyGems | paperclip | < 4.2.2 | 4.2.2 |
References
- http://jvn.jp/en/jp/JVN83881261/index.html · Vendor Advisory, WEB
- http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088 · Vendor Advisory, WEB
- http://openwall.com/lists/oss-security/2015/06/19/3 · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/75304
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 · Exploit, Vendor Advisory, WEB
- https://robots.thoughtbot.com/paperclip-security-release · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-2963 · ADVISORY
- https://github.com/thoughtbot/paperclip · PACKAGE
- https://web.archive.org/web/20200228084907/http://www.securityfocus.com/bid/75304 · WEB
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 10 Jul 2015)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)