Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspring-java | 3.0.6.RELEASE-13 | — |
| Debian 13 | libspring-java | 3.0.6.RELEASE-13 | — |
| Debian 12 | libspring-java | 3.0.6.RELEASE-13 | — |
| Debian 7 | libspring-java | 3.0.6.RELEASE-6+deb7u3 | DSA-2890-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework:spring-webmvc | >= 3.0.0, < 3.2.8.RELEASE | 3.2.8.RELEASE | GHSA-ff7p-jqjm-v66h |
| Maven | org.springframework:spring-webmvc | >= 4.0.0, < 4.0.2.RELEASE | 4.0.2.RELEASE | GHSA-ff7p-jqjm-v66h |
Advisories 1
- DSA-2890-1 libspring-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://www.gopivotal.com/security/cve-2014-1904
- 66137 vdb-entry
- https://jira.springsource.org/browse/SPR-11426
- https://github.com/spring-projects/spring-framework/commit/741b4b229ae032bd17175b46f98673ce0bd2d485
- 20140311 CVE-2014-1904 XSS when using Spring MVC mailing-list
- RHSA-2014:0400 vendor-advisory
- 57915 third-party-advisory
- http://docs.spring.io/spring/docs/3.2.8.RELEASE/changelog.txt
- 20140312 CVE-2014-1904 XSS when using Spring MVC mailing-list