Security mailing lists by PureSourceCode

CVE-2015-2963

MEDIUM 4.3CVSS 2.0

paperclip Cross-site Scripting vulnerability

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.

Published
10 Jul 2015
Last modified
17 Jun 2026
Assigned by
vultures@jpcert.or.jp
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-6jvm-3j5h-79f6
Sources
NVDJSONOSV GHSA-6jvm-3j5h-79f6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD thoughtbot paperclip
cpe:2.3:a:thoughtbot:paperclip:*:*:*:*:*:ruby:*:*
<= 4.2.1
OSV RubyGems paperclip < 4.2.2 4.2.2

References

History

  • 25 Nov 2026 20:18 UTC · NVD: first stored (published 10 Jul 2015)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.