{"id":"CVE-2025-3573","published":"2025-04-15T05:00:09Z","modified":"2025-04-15T15:03:53Z","title":"Versions of the package jquery-validation before 1.20.0 are vulnerable to Cross-site Scripting (XSS) in the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00366,"percentile":0.31094,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JQUERYVALIDATION-5952285","tags":[]},{"url":"https://github.com/jquery-validation/jquery-validation/pull/2462","tags":[]},{"url":"https://github.com/jquery-validation/jquery-validation/commit/7a490d8f39bd988027568ddcf51755e1f4688902","tags":[]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":6.22},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":"n/a","product":"jquery-validation","versions":["< 1.20.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-15T14:02:04.642967Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jquery-validation","vulnerableRanges":["<1.20.0"],"patched":["1.20.0"],"from":["GHSA-rrj2-ph5q-jxw2"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) weakness in the showLabel() function of the jquery-validation package, affecting versions before 1.20.0. The function can take a user-controlled placeholder value and render it into a message via the localizable $.validator.messages dictionary without adequate neutralisation. An attacker can inject script into a page over the network with no privileges required, but a user must interact with the crafted content, and the injected script runs in the context of the affected site and can read limited confidentiality and integrity impacts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:30Z"},"euvd":{"id":"EUVD-2025-10923","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jquery-validation-cve-2021-21252","parents":[{"from":"CVE-2021-21252","to":"CVE-2025-3573","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/core.js"],"commits":["https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d","https://github.com/jquery-validation/jquery-validation/commit/7a490d8f39bd988027568ddcf51755e1f4688902"],"basis":"shared function","functions":["extend"]}]},{"from":"CVE-2022-31147","to":"CVE-2025-3573","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/core.js"],"commits":["https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd","https://github.com/jquery-validation/jquery-validation/commit/7a490d8f39bd988027568ddcf51755e1f4688902"],"basis":"shared function","functions":["extend"]}]}]}}