Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting ruby-nokogiri package, versions <1.5.4-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.17% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-RUBYNOKOGIRI-19267934
  • published26 Aug 2026
  • disclosed19 Feb 2020

Introduced: 19 Feb 2020

CVE-2012-6685  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade Echo:latest ruby-nokogiri to version 1.5.4-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-nokogiri package and not the ruby-nokogiri package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Nokogiri before 1.5.4 is vulnerable to XXE attacks

CVSS Base Scores

version 3.1