CVE-2014-1904: XSS

Published Mar 12, 2014
·
Updated

A cross-site scripting flaw was found in the Spring Framework when using Spring MVC. From the original advisory:

"When a programmer does not specify the action on the Spring form, Spring automatically populates the action field with the requested uri. An attacker can use this to inject malicious content into the form."

This issue affects versions 3.0.0 to 3.2.7, and versions 4.0.0 to 4.0.1.

(the fix is present in version 3.2.8; this was incorrect in the gopivotal flaw - chazlett)

External References:

http://www.gopivotal.com/security/cve-2014-1904

Other sources

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.

GitHub

Affected Software

6 affected componentsFixes available
redhat/spring mvc<3.2.8
3.2.8
redhat/spring mvc<4.0.2
4.0.2
maven/org.springframework:spring-webmvc>=4.0.0<=4.0.1.RELEASE
4.0.2.RELEASE
maven/org.springframework:spring-webmvc>=3.0.0<=3.2.7.RELEASE
3.2.8.RELEASE
Pivotal Software Spring Framework>=3.0.0<3.2.8
Pivotal Software Spring Framework>=4.0.0<4.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/spring mvc to a version that resolves this vulnerability.

    Fixed in 3.2.8
  2. Upgrade

    Upgrade redhat/spring mvc to a version that resolves this vulnerability.

    Fixed in 4.0.2
  3. Upgrade

    Upgrade maven/org.springframework:spring-webmvc to a version that resolves this vulnerability.

    Fixed in 4.0.2.RELEASE
  4. Upgrade

    Upgrade maven/org.springframework:spring-webmvc to a version that resolves this vulnerability.

    Fixed in 3.2.8.RELEASE
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.2.8
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.0.2

Event History

Mar 20, 2014
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:55 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 14, 2022
Advisory Published
via GitHub·01:14 AM

Frequently Asked Questions

1

What is the severity of CVE-2014-1904?

CVE-2014-1904 is classified as a medium severity vulnerability due to its potential to allow cross-site scripting attacks.

2

How do I fix CVE-2014-1904?

To fix CVE-2014-1904, upgrade Spring MVC to version 3.2.8 or 4.0.2.

3

What systems are affected by CVE-2014-1904?

CVE-2014-1904 affects versions of Spring MVC before version 3.2.8 and 4.0.2.

4

What type of vulnerability is CVE-2014-1904?

CVE-2014-1904 is a cross-site scripting vulnerability.

5

Can CVE-2014-1904 be exploited remotely?

Yes, CVE-2014-1904 can be exploited remotely by attackers through crafted URIs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203