CVE-2015-2963 json
paperclip Cross-site Scripting vulnerability
published 2015-07-10 11 y ago modified 2026-06-17 4 mo ago also GHSA-6jvm-3j5h-79f6 , EUVD-2017-0177
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems paperclip 4.2.2
Exploit prediction
2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | paperclip | <4.2.2 |
4.2.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57
web, exploit, vendor-advisory
-
robots.thoughtbot.com
/paperclip-security-release
web, vendor-advisory
-
jvn.jp
/en/jp/JVN83881261/index.html
third-party-advisory, web, vendor-advisory
-
jvndb.jvn.jp
/jvndb/JVNDB-2015-000088
third-party-advisory, web, vendor-advisory
-
openwall.com
/lists/oss-security/2015/06/19/3
mailing-list, web, vendor-advisory
-
securityfocus.com
/bid/75304
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2015-2963
advisory
-
github.com
/thoughtbot/paperclip
package
-
web.archive.org
/web/20200228084907/http://www.securityfocus.com/bid/75304
web
Sources
- CVE List CVE-2015-2963
- GitHub Advisory GHSA-6jvm-3j5h-79f6
- NVD CVE-2015-2963
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.