Improper Neutralization of Input During Web Page Generation in Spring Framework
Cross-site scripting (XSS) vulnerability in web/servlet/tags/form/FormTag.java in Spring MVC in Spring Framework 3.0.0 before 3.2.8 and 4.0.0 before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via the requested URI in a default action.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring-webmvc | >= 3.0.0, < 3.2.8.RELEASE, >= 4.0.0, < 4.0.2.RELEASE | 3.2.8.RELEASE, 4.0.2.RELEASE |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-1904
- https://github.com/spring-projects/spring-framework/commit/741b4b229ae032bd17175b46f98673ce0bd2d485
- https://github.com/spring-projects/spring-framework/commit/75e08695a04980dbceae6789364717e9d8764d58#diff-5c29d6685335045274d9908c5cd45e45
- https://github.com/spring-projects/spring-framework
- https://jira.springsource.org/browse/SPR-11426
- http://docs.spring.io/spring/docs/3.2.8.RELEASE/changelog.txt
- http://rhn.redhat.com/errata/RHSA-2014-0400.html
- http://seclists.org/fulldisclosure/2014/Mar/101
- http://secunia.com/advisories/57915
- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring-webmvc- Disclosed
- 14.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-ff7p-jqjm-v66h - CC BY 4.0
Vulnerability history: org.springframework:spring-webmvc
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 27
- First → latest
- 10.2018 08.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 4
- High 8
- Medium 13
- Low 2
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 2
- 2021: 0
- 2022: 5
- 2023: 2
- 2024: 3
- 2025: 1
- 2026: 13
-
Improper Neutralization of Input During Web Page Generation in Spring Framework this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.