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.
Remediation
References
https://jira.springsource.org/browse/SPR-9983
http://www.gopivotal.com/security/cve-2013-6430
https://github.com/spring-projects/spring-framework/commit/7a7df6637478607bef0277bf52a4e0a03e20a248
Related Vulnerabilities
CVE-2022-4348 Vulnerability in maven package com.ruoyi:ruoyi-common
CVE-2022-45391 Vulnerability in maven package io.jenkins.plugins:cavisson-ns-nd-integration
CVE-2023-3691 Vulnerability in npm package layui
CVE-2021-23329 Vulnerability in npm package nested-object-assign
CVE-2017-9096 Vulnerability in maven package com.itextpdf:kernel