CVE-2015-2963
The thoughtbot paperclip gem before 4.2.2 for Ruby does not consider the content-type value during media-type validation, which allows…
- 4.3MediumCVSS base score
- 2.1%Exploitation in 30 daysEPSS · top 18% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By jpcert
- 3 months later
· 3 months later
Published
- 9 years later
· 9 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.1% · top 18% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemspaperclipGHSA-6jvm-3j5h-79f6 (opens in a new tab)
References
6
- 75304 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://robots.thoughtbot.com/paperclip-security-release (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 (opens in a new tab)x_refsource_CONFIRMx_transferred
- JVN#83881261 (opens in a new tab)third-party-advisoryx_refsource_JVNx_transferred
- JVNDB-2015-000088 (opens in a new tab)third-party-advisoryx_refsource_JVNDBx_transferred
- [oss-security] 20150618 Re: CVE request: Content type spoofing in ruby gem paperclip <4.2.2 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2017-0177 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6jvm-3j5h-79f6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2015-2963)Record last updated .