CVE-2025-3573: XSS
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/jquery-validationto a version that resolves this vulnerability.Fixed in 1.20.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.20.0
Event History
Frequently Asked Questions
What is the severity of CVE-2025-3573?
CVE-2025-3573 has a medium severity rating due to the potential for Cross-site Scripting (XSS) vulnerabilities.
How do I fix CVE-2025-3573?
To fix CVE-2025-3573, upgrade jquery-validation to version 1.20.0 or later.
What specific function is vulnerable in CVE-2025-3573?
The vulnerable function in CVE-2025-3573 is showLabel() which handles user-controlled placeholder values.
Which versions are affected by CVE-2025-3573?
CVE-2025-3573 affects versions of jquery-validation prior to 1.20.0.
What impact does CVE-2025-3573 have on web applications?
CVE-2025-3573 can allow attackers to execute arbitrary JavaScript in the context of a user's browser, leading to security breaches.