Withdrawn, accidental duplicate publish.
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.
{
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2020-06-17T15:14:58Z",
"nvd_published_at": null,
"severity": "MODERATE"
}