{"id":"GHSA-rrj2-ph5q-jxw2","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.","aliases":["CVE-2025-3573"],"modified":"2025-04-15T14:57:12.326333Z","published":"2025-04-15T06:30:34Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-04-15T14:24:22Z","nvd_published_at":"2025-04-15T05:15:31Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3573"},{"type":"WEB","url":"https://github.com/jquery-validation/jquery-validation/pull/2462"},{"type":"WEB","url":"https://github.com/jquery-validation/jquery-validation/commit/7a490d8f39bd988027568ddcf51755e1f4688902"},{"type":"PACKAGE","url":"https://github.com/jquery-validation/jquery-validation"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-JQUERYVALIDATION-5952285"}],"affected":[{"package":{"name":"jquery-validation","ecosystem":"npm","purl":"pkg:npm/jquery-validation"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-rrj2-ph5q-jxw2/GHSA-rrj2-ph5q-jxw2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}