GHSA-78vq-9j56-wrfr

    Dashboard / Vulnerabilities / GHSA-78vq-9j56-wrfr

    GHSA-78vq-9j56-wrfr

    Published: 30 Apr 2021Last Modified: 19 Feb 2024

    Summary: Gon gem lack of escaping certain input when outputting as JSON

    Details: An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escape_mode parameter to escape fields as an XSS protection mechanism. To mitigate, json_dumper.rb in gon now does escaping for XSS by default without relying on MultiJson.

    Affected packages

    Package

    Name: gon

    Purl: pkg:gem/gon

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -6.4.0

    Affected versions

    0.1.0
    0.1.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-78vq-9j56-wrfr | CVE-DB