| Package | Affected versions | Patched versions |
|---|---|---|
| paperclip | < 4.2.2 | 4.2.2 |
| paperclip | ≤ 4.2.1 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free