# CVE-2022-50998: duplicate rejected

Source: https://junglewise.ai/threats/cve-2022-50998-duplicate-rejected  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-25. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2022-50998 · Severity: info · Published 2026-08-25

This CVE identifier (CVE-2022-50998) has been rejected by the National Vulnerability Database as a duplicate of an existing vulnerability report. No actual security vulnerability details are available for this entry.

Technologies: [nokogiri (RubyGems)](https://junglewise.ai/threats/technologies/nokogiri). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2022-50998 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-50998 being exploited in the wild.

**How severe is CVE-2022-50998?** Informational severity, published 25 August 2026.

**Which products and versions are affected?** nokogiri (RubyGems) ECOSYSTEM:introduced=0,fixed=1.13.9.

**Is there a fix for CVE-2022-50998?** Yes. nokogiri (RubyGems): upgrade to 1.13.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-50998?** Check whether you run nokogiri (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- nokogiri (RubyGems): upgrade to 1.13.9 or later

  ```sh
  bundle update nokogiri
  ```


## Affected products

- nokogiri (RubyGems) ECOSYSTEM:introduced=0,fixed=1.13.9

## Identifiers

- CVE-2022-50998
- GHSA-2qc6-mcvw-92cw

## Timeline

- other: CVE-2022-50998 rejected as duplicate

## Related threats

- [Nokogiri use-after-free in attribute replacement](https://junglewise.ai/threats/cve-2026-126064-nokogiri-is-an-open-source-xml-and-html-library-for-the-ruby)
- [Nokogiri HTML5 serializer mutation XSS via noscript and attributes](https://junglewise.ai/threats/cve-2026-126063-nokogiri-is-an-open-source-xml-and-html-library-for-the-ruby)
- [JRuby: NONET is bypassed for external DTDs and entities when the systemId uses a short-form IPv4 host](https://junglewise.ai/threats/cve-2026-126062-nokogiri-is-an-open-source-xml-and-html-library-for-the-ruby)
- [Nokogiri unchecked return value in canonicalize method](https://junglewise.ai/threats/nokogiri-unchecked-return-value-in-canonicalize-method-3863de91)
- [Nokogiri XSLT transform memory leak](https://junglewise.ai/threats/nokogiri-xslt-transform-memory-leak-0441ddf7)
