GHSA-rrj2-ph5q-jxw2

Suggest an improvement
Source
https://github.com/advisories/GHSA-rrj2-ph5q-jxw2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-rrj2-ph5q-jxw2/GHSA-rrj2-ph5q-jxw2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rrj2-ph5q-jxw2
Aliases
Published
2025-04-15T06:30:34Z
Modified
2025-04-15T14:57:12.326333Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
jquery-validation vulnerable to Cross-site Scripting
Details

Versions of the package jquery-validation before 1.20.0 are vulnerable to Cross-site Scripting (XSS) in the showLabel() function, which may take input from a user-controlled placeholder value. This value will populate a message via $.validator.messages in a user localizable dictionary.

Database specific
{
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-15T14:24:22Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "nvd_published_at": "2025-04-15T05:15:31Z"
}
References

Affected packages

npm / jquery-validation

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.0