paperclip Cross-site Scripting vulnerability (GHSA-6jvm-3j5h-79f6)
Published: 2017-10-24T18:33:36Z
Aliases: CVE-2015-2963
Severity: MODERATE · CWE: CWE-79

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 packages:
package: ecosystem: RubyGems
name: paperclip
ranges: type: ECOSYSTEM
events: introduced: 0
fixed: 4.2.2