{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "ruby-jquery-rails", "versions": [{"status": "affected", "version": "0", "lessThan": "4.0.4-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2015-1840"}], "descriptions": [{"lang": "en", "value": "jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2015-07-26T22:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unspecified\"}"}}}], "affected": [{"vendor": "fedora", "product": "rubygem-jquery-rails", "versions": [{"status": "affected", "version": "0", "lessThan": "3.1.0-3.fc21", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:21"], "defaultStatus": "unaffected"}, {"vendor": "fedora", "product": "rubygem-jquery-rails", "versions": [{"status": "affected", "version": "0", "lessThan": "3.1.0-3.fc22", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:22"], "defaultStatus": "unaffected"}], "references": [{"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2015-10144"}, {"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2015-10258"}], "descriptions": [{"lang": "en", "value": "rubygem-jquery-rails: CSRF Vulnerability in jquery-ujs and jquery-rails"}], "providerMetadata": {"orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5", "shortName": "fedora", "dateUpdated": "2015-06-30T00:04:13Z", "x_subShortName": "fedora"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2015-1840"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:rubyonrails:jquery-rails:*:*:*:*:*:*:*:*", "cpe:2.3:a:rubyonrails:jquery-rails:4.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:rubyonrails:jquery-rails:4.0.1:*:*:*:*:*:*:*"], "vendor": "rubyonrails", "product": "jquery-rails", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "3.1.2"}, {"status": "affected", "version": "4.0.0"}, {"status": "affected", "version": "4.0.1"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:a:rubyonrails:jquery-ujs:*:*:*:*:*:*:*:*"], "vendor": "rubyonrails", "product": "jquery-ujs", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.0.3"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*", "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*"], "vendor": "fedoraproject", "product": "fedora", "versions": [{"status": "affected", "version": "21"}, {"status": "affected", "version": "22"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*", "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"], "vendor": "opensuse", "product": "opensuse", "versions": [{"status": "affected", "version": "13.1"}, {"status": "affected", "version": "13.2"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J", "tags": ["exploit", "vendor-advisory"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html", "tags": ["third-party-advisory"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html", "tags": ["third-party-advisory"]}, {"url": "http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html", "tags": ["third-party-advisory"]}, {"url": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md", "tags": ["vendor-advisory"]}, {"url": "https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md", "tags": ["vendor-advisory"]}, {"url": "http://openwall.com/lists/oss-security/2015/06/16/15"}, {"url": "http://www.securityfocus.com/bid/75239"}], "descriptions": [{"lang": "en", "value": "jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value."}, {"lang": "es", "value": "Vulnerabilidad en jquery_ujs.js en jquery-rails en versiones anteriores a 3.1.3 y 4.x anteriores a la versión 4.0.4 y vulnerabilidad en rails.js en jquery-ujs en versiones anteriores a 1.0.4, tal como se utiliza con Ruby on Rails en versiones 3.x y 4.x, permite a atacantes remotos poder evadir el Same Origin Policy y desencadena la transmisión de un token CSRF a un servidor web en un dominio diferente a través del caracter espacio encabezando una URL en un valor de atributo."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-200", "description": "CWE-200"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2015-07-26T22:59:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2015-1840", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2015-07-26T22:59:00Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}