{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:thoughtbot:paperclip:*:*:*:*:*:ruby:*:*"], "vendor": "thoughtbot", "product": "paperclip", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "4.2.1"}], "platforms": ["ruby"], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57", "tags": ["exploit", "vendor-advisory"]}, {"url": "http://jvn.jp/en/jp/JVN83881261/index.html", "tags": ["vendor-advisory"]}, {"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2015-000088", "tags": ["vendor-advisory"]}, {"url": "http://openwall.com/lists/oss-security/2015/06/19/3", "tags": ["vendor-advisory"]}, {"url": "https://robots.thoughtbot.com/paperclip-security-release", "tags": ["vendor-advisory"]}, {"url": "http://www.securityfocus.com/bid/75304"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Thoughtbot paperclip gem en versiones anteriores a la 4.2.2 para Ruby no tiene en cuenta el valor de tipo de contenido durante la validación de tipo de medios, lo que permite a atacantes remotos subir documentos HTML y realizar cross-site scripting (XSS) a través de un valor suplantado, como se demuestra por la imagen / jpeg."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2015-07-10T17:59:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2015-2963", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "ede6fdc4-6654-4307-a26d-3331c018e2ce", "datePublished": "2015-07-10T17:59:00Z", "assignerShortName": "jpcert"}, "dataVersion": "5.0"}