- 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.
- Source
- vultures@jpcert.or.jp
- NVD status
- Modified
CVSS 2.0
- Type
- Primary
- Base score
- 4.3
- Impact score
- 2.9
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- nvd@nist.gov
- CWE-79
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:thoughtbot:paperclip:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "DE525443-1C61-4909-A20A-38209B765FBE",
"versionEndIncluding": "4.2.1"
}
],
"operator": "OR"
}
]
}
]