LiveActive security incident?Get immediate response
CVE Record

CVE-2020-25739: An issue was discovered in the gon gem before gon-6.4.0 for Ruby.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2020-25739 is an XSS protection failure in the Ruby gon gem before 6.4.0. Applications relying on gon to safely embed data into pages could expose users to script execution if unsafe fields are included. The sources name the fix but provide no CVSS score or active exploitation evidence.

Executive priority

Treat this as a targeted web application hygiene issue, not an emergency without exposure evidence. Prioritize internet-facing Ruby apps using gon before 6.4.0, especially where user data appears in pages.

Technical view

gon before 6.4.0 relied on MultiJson escape_mode for XSS escaping, but MultiJson did not honor that parameter. The fix changes json_dumper.rb so gon performs XSS escaping by default instead of relying on MultiJson. Debian and Ubuntu published ruby-gon security updates.

Likely exposure

Exposure is most likely in Ruby applications using the gon gem before 6.4.0, especially where untrusted or user-controlled values are serialized into client-side page data.

Exploitation context

The provided sources do not report active exploitation, and CVE KEV status is false. Impact depends on whether attacker-controlled values can reach gon output and be interpreted by a browser as executable script.

Researcher notes

Evidence is limited to the CVE description, upstream commit, and Debian/Ubuntu advisories. No CVSS, CWE, exploit status, or detailed affected version matrix is provided beyond gon before 6.4.0.

Mitigation direction

  • Upgrade the gon gem to version 6.4.0 or later.
  • Apply Debian or Ubuntu ruby-gon security updates where package-managed.
  • Review vendor or distribution guidance for backported fixed package versions.
  • Prioritize pages that expose authenticated users or sensitive workflows.

Validation and detection

  • Inventory Ruby applications for the gon gem dependency and version.
  • Check package-managed systems for installed ruby-gon update status.
  • Review templates using gon for untrusted data exposure.
  • Confirm XSS escaping behavior after update in regression tests.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2020-25739 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.