Improper Neutralization of Input During Web Page Generation in Spring Framework
Moderate severity
GitHub Reviewed
Published
May 5, 2022
to the GitHub Advisory Database
•
Updated Jun 5, 2024
Package
Affected versions
>= 3.0.0.RELEASE, <= 3.2.1.RELEASE
Patched versions
3.2.2.RELEASE
Description
Published by the National Vulnerability Database
Jan 10, 2020
Published to the GitHub Advisory Database
May 5, 2022
Reviewed
Jul 7, 2022
Last updated
Jun 5, 2024
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.
References