Skip to content
OpenAdvisories
Medium · 5.4 CVE-2013-6430 EUVD-2022-5814GHSA-xjrf-8x4f-43h4

Improper Neutralization of Input During Web Page Generation in Spring Framework

Published Jan 10, 2020 · Updated Aug 6, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Pivotal Spring MVC before 3.2.2 —

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.

ReleasePackageFixed inAdvisory
Debian 14 libspring-java 3.0.6.RELEASE-11 —
Debian 13 libspring-java 3.0.6.RELEASE-11 —
Debian 12 libspring-java 3.0.6.RELEASE-11 —
Debian 7 libspring-java 3.0.6.RELEASE-6+deb7u2 DSA-2857-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-web < 3.2.2.RELEASE 3.2.2.RELEASE GHSA-xjrf-8x4f-43h4

Advisories 1

References