Skip to content
OpenAdvisories
Medium USN-9337-1 1 CVE

ruby-gon vulnerability

Published Dec 1, 2026 · Updated Dec 2, 2026

Summary

It was discovered that Gon gem did not properly escape certain input. An
attacker could possibly use this issue to perform cross-site scripting
attacks.

Fixed packages 2

ReleasePackageFixed in
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS ruby-gon 6.0.1-1ubuntu0.1~esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS ruby-gon 6.3.2-1ubuntu0.1~esm1

Vulnerabilities 1

  • Medium 6.1

    Gon gem lack of escaping certain input when outputting as JSON

    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 Mu…

References

  • report
    https://ubuntu.com/security/CVE-2020-25739