GHSA-xjrf-8x4f-43h4

    Dashboard / Vulnerabilities / GHSA-xjrf-8x4f-43h4

    GHSA-xjrf-8x4f-43h4

    Published: 5 May 2022Last Modified: 3 Jul 2025
    Aliases:

    Summary: Improper Neutralization of Input During Web Page Generation in Spring Framework

    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

    Package

    Name: org.springframework:spring-web

    Purl: pkg:maven/org.springframework/spring-web

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.2.2.RELEASE

    Affected versions

    1.0
    1.0.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-xjrf-8x4f-43h4 | CVE-DB