GHSA-xf62-wr5p-5p95

    Dashboard / Vulnerabilities / GHSA-xf62-wr5p-5p95

    GHSA-xf62-wr5p-5p95

    Published: 12 Jun 2026Last Modified: 20 Aug 2026

    Summary: Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm Injection

    Details: A CRLF injection vulnerability exists in the OAuth2 AuthorizationUtils class. When constructing the WWW-Authenticate response header, the 'realm' parameter is concatenated without sanitizing Carriage Return (CR) and Line Feed (LF) characters. If an attacker can control the realm value, they can inject arbitrary HTTP headers or split the HTTP response entirely. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.

    Affected packages

    Package

    Name: org.apache.cxf:cxf-rt-rs-security-oauth2

    Purl: pkg:maven/org.apache.cxf/cxf-rt-rs-security-oauth2

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.2.0
    Fixed -4.2.2

    Affected versions

    4.2.0
    4.2.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-xf62-wr5p-5p95 | CVE-DB