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
http://www.gopivotal.com/security/cve-2013-6430
https://github.com/spring-projects/spring-framework/commit/7a7df6637478607bef0277bf52a4e0a03e20a248
https://jira.springsource.org/browse/SPR-9983
Related Vulnerabilities
CVE-2019-10367 Vulnerability in maven package io.jenkins:configuration-as-code
CVE-2016-0750 Vulnerability in maven package org.infinispan:infinispan-client-hotrod
CVE-2019-14517 Vulnerability in maven package org.webjars.bowergithub.pandao:editor.md
CVE-2020-15096 Vulnerability in npm package electron
CVE-2022-36313 Vulnerability in maven package org.webjars.npm:file-type