Published:2015/06/18  Last Updated:2015/06/18

Ruby on Rails library Paperclip vulnerable to cross-site scripting


Paperclip provided by thoughtbot contains a cross-site scripting vulnerability.

Products Affected

  • Paperclip 4.2.1 and earlier


Paperclip provided by thoughtbot is a library to upload files in Ruby on Rails. Paperclip contains a persistent cross-site scripting vulnerability (CWE-79).


An arbitrary script may be executed on the user's web browser.


Update the Software
Update to the latest version according to the information provided by the developer.

Vendor Status


JPCERT/CC Addendum

Vulnerability Analysis by JPCERT/CC

Analyzed on 2015.06.18 (CVSS Base Metrics)

What is CVSS?

Measures Severity Description
Access Vector(AV) Local (L) Adjacent Network (A) Network (N) A vulnerability exploitable with network access means the vulnerable software is bound to the network stack and the attacker does not require local network access or local access. Such a vulnerability is often termed "remotely exploitable".
Access Complexity(AC) High (H) Medium (M) Low (L) The access conditions are somewhat specialized.
Authentication(Au) Multiple (M) Single (S) None (N) Authentication is not required to exploit the vulnerability.
Confidentiality Impact(C) None (N) Partial (P) Complete (C) There is no impact to the confidentiality of the system.
Integrity Impact(I) None (N) Partial (P) Complete (C) Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.
Availability Impact(A) None (N) Partial (P) Complete (C) There is no impact to the availability of the system.

Base Score:4.3


MORI Shingo of DeNA Co., Ltd. reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.

Other Information

JPCERT Reports
CERT Advisory
CPNI Advisory
CVE CVE-2015-2963
JVN iPedia JVNDB-2015-000088