GHSA-phmw-pv3f-vvx7

    Dashboard / Vulnerabilities / GHSA-phmw-pv3f-vvx7

    GHSA-phmw-pv3f-vvx7

    Published: 13 Aug 2018Last Modified: 2 Dec 2024

    Summary: Moderate severity vulnerability that affects paperclip

    Details: Withdrawn, accidental duplicate publish. The thoughtbot paperclip gem before 4.2.2 for Ruby does not consider the content-type value during media-type validation, which allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed value, as demonstrated by image/jpeg.

    Affected packages

    Package

    Name: paperclip

    Purl: pkg:gem/paperclip

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.2.2

    Affected versions

    2.1.0
    2.1.2
    2.1.5

    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-phmw-pv3f-vvx7 | CVE-DB