GHSA-mm33-5vfq-3mm3

    Dashboard / Vulnerabilities / GHSA-mm33-5vfq-3mm3

    GHSA-mm33-5vfq-3mm3

    Published: 27 Apr 2022Last Modified: 18 Feb 2024

    Summary: Cross-site Scripting Vulnerability in Action Pack

    Details: There is a possible XSS vulnerability in Rails / Action Pack. This vulnerability has been assigned the CVE identifier CVE-2022-22577. Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1 ## Impact CSP headers were only sent along with responses that Rails considered as "HTML" responses. This left API requests without CSP headers, which could possibly expose users to XSS attacks. ## Releases The FIXED releases are available at the normal locations. ## Workarounds Set a CSP for your API responses manually.

    Affected packages

    Package

    Name: actionpack

    Purl: pkg:gem/actionpack

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 5.2.0
    Fixed -5.2.7.1

    Affected versions

    5.2.0
    5.2.1
    5.2.1.1
    5.2.1.rc1
    5.2.2
    5.2.2.1
    5.2.2.rc1
    5.2.3
    5.2.3.rc1
    5.2.4
    5.2.4.1
    5.2.4.2
    5.2.4.3
    5.2.4.4
    5.2.4.5
    5.2.4.6
    5.2.4.rc1
    5.2.5
    5.2.6
    5.2.6.1
    5.2.6.2
    5.2.6.3
    5.2.7

    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-mm33-5vfq-3mm3 | CVE-DB