Unchecked Return Value Affecting nokogiri package, versions >=1.5.1, <1.19.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th 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-RUBY-NOKOGIRI-19426888
  • published29 Aug 2026
  • disclosed25 Aug 2026
  • creditUnknown

Introduced: 25 Aug 2026

NewCVE-2026-79772  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade nokogiri to version 1.19.1 or higher.

Overview

nokogiri is a gem for parsing HTML, XML, SAX, and Reader.

Affected versions of this package are vulnerable to Unchecked Return Value in the canonicalize process. An attacker can bypass signature validation by supplying invalid canonicalized XML that is incorrectly accepted as valid.

References

CVSS Base Scores

version 4.0
version 3.1