Back
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…
Medium4.3EPSS 2.1%
- Published
- Updated
- Reserved
- Assigned by
- jpcert
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.
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 (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
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)
- 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://trackcve.app/cve/CVE-2015-2963)Record last updated .