Quick answers
- Is CVE-2025-3573 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-3573 being exploited in the wild.
- How severe is CVE-2025-3573?
- Low severity, with a CVSS score of 3.1, published 15 April 2025.
- Which products and versions are affected?
- jquery-validation (npm) SEMVER:introduced=0,fixed=1.20.0.
- Is there a fix for CVE-2025-3573?
- Yes. jquery-validation (npm): upgrade to 1.20.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-3573 attacked?
- It is attacked over the network.
- Am I affected by CVE-2025-3573?
- Check whether you run jquery-validation (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- jquery-validation (npm): upgrade to 1.20.0 or later
npm install jquery-validation@1.20.0
Technical details
The vulnerability is a classic cross-site scripting (CWE-79) flaw in the showLabel() function, which uses .html() to inject validation error messages into the DOM. User-controlled data—such as placeholder values or translation strings from a user-localizable dictionary—can contain unescaped HTML/JavaScript that will be executed in the victim's browser. Exploitation requires user interaction (user must trigger form validation), but no authentication is needed. An attacker can craft a malicious form or intercept/modify validation messages to execute arbitrary JavaScript in the context of the vulnerable website. The fix, introduced in version 1.20.0, adds an escapeHtml option to sanitize message content before rendering.
Affected products
- jquery-validation jquery-validation before 1.20.0
Identifiers
- CVE-2025-3573
- GHSA-rrj2-ph5q-jxw2
Timeline
- 2025-04-15: disclosed: Vulnerability published to GitHub Advisory Database and NVD
- 2025-04-15: patched: Fix released in version 1.20.0 with escapeHtml option
- 2023-02-01: other: Fix PR merged into master branch