Bug 1039783 (CVE-2013-6430)

Summary: CVE-2013-6430 Spring Framework: org.spring.web.util.JavaScriptUtils.javaScriptEscape insufficient escaping of characters
Product: [Other] Security Response Reporter: David Jorm <djorm>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: chazlett, mjc, security-response-team, weli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-14 17:44:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1026176, 1039784    

Description David Jorm 2013-12-10 01:33:19 UTC
It was found that the org.spring.web.util.JavaScriptUtils.javaScriptEscape method insufficiently escaped some characters. Applications using this method to escape user-supplied content that will be rendered in HTML 5 documents may expose cross-site scripting (XSS) flaws.

Comment 1 David Jorm 2013-12-10 01:36:18 UTC
Upstream bug:

https://jira.springsource.org/browse/SPR-9983

Comment 2 Vincent Danen 2014-01-14 23:22:57 UTC
This affects Spring MVC versions 3.0.0 to 3.2.1, however upstream notes that earlier unsupported versions may also be affected.

External References:

http://www.gopivotal.com/security/cve-2013-6430

Comment 4 David Jorm 2014-01-15 00:10:13 UTC
Acknowledgements:

This issue was discovered by Jon Passki of Coverity SRL and Arun Neelicattu of the Red Hat Security Response Team.

Comment 5 errata-xmlrpc 2014-04-14 13:49:00 UTC
This issue has been addressed in following products:

  Red Hat JBoss AM-Q 6.1.0

Via RHSA-2014:0401 https://rhn.redhat.com/errata/RHSA-2014-0401.html

Comment 6 Chess Hazlett 2014-04-15 02:38:56 UTC
This issue has been addressed in following products:

  Red Hat JBoss Fuse 6.1.0

Via RHSA-2014:0400 https://rhn.redhat.com/errata/RHSA-2014-0400.html