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 Jul 10, 2015
4.3
MEDIUMCVSS 2.0
EPSS 2.12%
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.
Affected products
No data.
- ≤ 4.2.1
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.12% (0.02121) | 81.20th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.12% (0.02121) | 79.41th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.56% (0.00565) | 66.47th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.43% (0.00430) | 75.30th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.43% (0.00430) | 73.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.43% (0.00430) | 70.48th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.32% (0.01319) | 71.23th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.32% (0.01319) | 69.22th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
References (9)
- http://jvn.jp/en/jp/JVN83881261/index.html third-party-advisoryx_refsource_JVNVendor Advisory
- http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088 third-party-advisoryx_refsource_JVNDBVendor Advisory
- http://openwall.com/lists/oss-security/2015/06/19/3 mailing-listx_refsource_MLISTVendor Advisory
- http://www.securityfocus.com/bid/75304 vdb-entryx_refsource_BID
- https://github.com/advisories/GHSA-6jvm-3j5h-79f6 Advisory
- https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 x_refsource_CONFIRMExploitVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2015-2963
- https://robots.thoughtbot.com/paperclip-security-release x_refsource_CONFIRMVendor Advisory
- https://web.archive.org/web/20200228084907/http://www.securityfocus.com/bid/75304
| Link | Providers | Tags |
|---|---|---|
| http://jvn.jp/en/jp/JVN83881261/index.html | third-party-advisoryx_refsource_JVNVendor Advisory | |
| http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088 | third-party-advisoryx_refsource_JVNDBVendor Advisory | |
| http://openwall.com/lists/oss-security/2015/06/19/3 | mailing-listx_refsource_MLISTVendor Advisory | |
| http://www.securityfocus.com/bid/75304 | vdb-entryx_refsource_BID | |
| https://github.com/advisories/GHSA-6jvm-3j5h-79f6 | Advisory | |
| https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 | x_refsource_CONFIRMExploitVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2015-2963 | ||
| https://robots.thoughtbot.com/paperclip-security-release | x_refsource_CONFIRMVendor Advisory | |
| https://web.archive.org/web/20200228084907/http://www.securityfocus.com/bid/75304 |
Change history (0)
No recorded changes yet.