Loading HuntDB...

GHSA-xjrf-8x4f-43h4

GitHub Security Advisory

Improper Neutralization of Input During Web Page Generation in Spring Framework

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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 Packages

Maven org.springframework:spring-web
Affected versions: 0 (fixed in 3.2.2.RELEASE)

Related CVEs

Key Information

GHSA ID
GHSA-xjrf-8x4f-43h4
Published
May 5, 2022 12:29 AM
Last Modified
July 3, 2025 7:45 PM
CVSS Score
5.0 /10
Primary Ecosystem
Maven
Primary Package
org.springframework:spring-web
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 3, 2025 6:33 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.