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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2017-0177 | 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. |
Github GHSA |
GHSA-6jvm-3j5h-79f6 | paperclip Cross-site Scripting vulnerability |
References
History
No history.
Status: PUBLISHED
Assigner: jpcert
Published:
Updated: 2024-08-06T05:32:20.697Z
Reserved: 2015-04-07T00:00:00.000Z
Link: CVE-2015-2963
No data.
Status : Modified
Published: 2015-07-10T17:59:00.093
Modified: 2026-05-06T22:30:45.220
Link: CVE-2015-2963
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA