CVE-2013-6430 Improper Neutralization of Input During Web Page Generation in Spring Framework

Medium 5.4 Published Updated

Remote attackers can execute arbitrary scripts via improper escaping of Unicode characters in Spring MVC JavaScript utilities.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2013-6430?

CVE-2013-6430 is a medium-severity cross-site scripting vulnerability in Pivotal Spring MVC, published on 10 Jan 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The JavaScriptUtils.javaScriptEscape method in web/util/JavaScriptUtils.java in Spring MVC in Spring Framework before 3.2.2 does not properly escape certain characters, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a (1) line separator or (2) paragraph separator Unicode character or (3) left or (4) right angle bracket.

Weakness: CWE-79

Which versions are affected by CVE-2013-6430?

2 open source packages ship an affected version, including org.springframework:spring-web. It affects 1 product.

PackageAffectedFixed in
org.springframework:spring-web MavenAll versions3.2.2.RELEASE
org.springframework:spring-web MavenAll versions3.2.2.RELEASE

Products include Pivotal Software Spring Framework.

How do I fix CVE-2013-6430?

Upgrade org.springframework:spring-web to 3.2.2.RELEASE or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2013-6430 being exploited?

There is no known exploitation of CVE-2013-6430 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2013-6430, GHSA-xjrf-8x4f-43h4.

Is CVE-2013-6430 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free