CVE and update status of the FreeBSD ports tree3,296 unaddressed CVEs in 671 portsAll times are CET
CVE details

CVE-2020-25739

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.

Score
6.1 medium
Published
2020-09-23
Links
NVD · cve.org · Report wrong data

Matched ports (2)

PortPackageVersionStatusMaintainer
www/rubygem-gon-rails5rubygem-gon-rails56.2.1unaddressedmfechner@FreeBSD.org
www/rubygem-gon-rails50rubygem-gon-rails506.2.1unaddressedmfechner@FreeBSD.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>rubygem-gon-rails5</name>
	<range><lt>6.4.0</lt></range>
      </package>
      <package>
	<name>rubygem-gon-rails50</name>
	<range><lt>6.4.0</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>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.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2020-25739</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2020-25739</url>
    </references>
    <dates>
      <discovery>2020-09-23</discovery>
      <entry>2026-10-26</entry>
    </dates>
  </vuln>