CVE-2015-2963 thoughtbot paperclip: Cross-site Scripting
thoughtbot paperclip: no CVSS score yet. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in paperclip 4.2.2.
On this page
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.
- EPSS
- 2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
paperclip(RubyGems): fixed in 4.2.2- Vendor advisory: http://jvn.jp/en/jp/JVN83881261/index.html
- Vendor advisory: http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088
- Vendor advisory: http://openwall.com/lists/oss-security/2015/06/19/3
Ask an AI about this CVE
Show the prompt
Explain CVE-2015-2963 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-2963?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-2963?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-2963 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| thoughtbot:paperclip | through 4.2.1 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6jvm-3j5h-79f6 | RubyGems | paperclip | <4.2.2 | 4.2.2 |
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
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
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57
- https://robots.thoughtbot.com/paperclip-security-release
- http://www.securityfocus.com/bid/75304