Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/jquery-ujs@1.0.4
purl pkg:npm/jquery-ujs@1.0.4
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (3)
Vulnerability Summary Aliases
VCID-356q-csk2-8ug5 jquery-rails and jquery-ujs subject to Exposure of Sensitive Information 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. CVE-2015-1840
GHSA-4whc-pp4x-9pf3
VCID-k1jn-jwbx-qya1 CSRF vulnerability In the scenario where an attacker might be able to control the href attribute of an anchor tag or the action attribute of a form tag that will trigger a POST action, the attacker can set the nhref or action to " https://attacker.com" (note the leading space) that will be passed to JQuery, who will see this as a same origin request, and send the user's CSRF token to the attacker domain. GMS-2015-14
VCID-x5j5-g553-hudp CSRF Vulnerability in jquery-ujs Versions 1.0.3 and earlier of jquery-ujs are vulnerable to an information leakage attack that may enable attackers to launch CSRF attacks, as it allows attackers to send CSRF tokens to external domains. When an attacker controls the href attribute of an anchor tag, or the action attribute of a form tag triggering a POST action, the attacker can set the href or action to " https://attacker.com". By prepending a space to the external domain, it causes jQuery to consider it a same origin request, resulting in the user's CSRF token being sent to the external domain. ## Recommendation Upgrade jquery-ujs to version 1.0.4 or later. GHSA-6qqj-rx4w-r3cj
GMS-2020-740

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:06:50.014100+00:00 GitLab Importer Fixing VCID-x5j5-g553-hudp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ujs/GMS-2020-740.yml 38.4.0
2026-04-11T22:18:25.554427+00:00 GitLab Importer Fixing VCID-x5j5-g553-hudp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ujs/GMS-2020-740.yml 38.3.0
2026-04-02T22:30:26.480481+00:00 GitLab Importer Fixing VCID-x5j5-g553-hudp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ujs/GMS-2020-740.yml 38.1.0
2026-04-02T12:37:02.477422+00:00 GitLab Importer Fixing VCID-x5j5-g553-hudp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ujs/GMS-2020-740.yml 38.0.0
2026-04-01T16:54:45.404590+00:00 Npm Importer Fixing VCID-356q-csk2-8ug5 https://github.com/nodejs/security-wg/blob/main/vuln/npm/15.json 38.0.0
2026-04-01T15:58:24.074572+00:00 GHSA Importer Fixing VCID-x5j5-g553-hudp https://github.com/advisories/GHSA-6qqj-rx4w-r3cj 38.0.0
2026-04-01T13:00:10.734738+00:00 GithubOSV Importer Fixing VCID-x5j5-g553-hudp https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-6qqj-rx4w-r3cj/GHSA-6qqj-rx4w-r3cj.json 38.0.0
2026-04-01T12:46:57.585877+00:00 GitLab Importer Fixing VCID-k1jn-jwbx-qya1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ujs/GMS-2015-14.yml 38.0.0