Skip to content
Noroxi
CVE-2012-6685· NVD / CVE Program· CNA mitre

Nokogiri before 1.5.4 is vulnerable to XXE attacks

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Feb 19, 2020
Updated
Jun 16, 2026
EPSS
2.2% · 82th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.2%

Affected systems

VendorProduct
nokogirinokogiri
redhatcloudforms management engine
redhatopenshift
redhatopenstack
redhatopenstack foreman
redhatsatellite
redhatsubscription asset manager
redhatenterprise mrg

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • nokogiri nokogiribefore 1.5.4
  • redhat cloudforms management engine5.0
  • redhat enterprise mrg2.0
  • redhat openshift2.0
  • redhat openstack4.0
  • redhat openstack6.0
  • redhat openstack foremanall versions
  • redhat satellite6.0
  • redhat subscription asset managerall versions

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12ruby-nokogiribefore 1.5.4-11.5.4-1
Debian:6.0libnokogiri-rubybefore 1.4.0-4+deb6u11.4.0-4+deb6u1
Red Hat:cloudforms_managementengine:5.10::el7ansible-runnerbefore 0:1.1.2-2.el7ar0:1.1.2-2.el7ar
Red Hat:cloudforms_managementengine:5.10::el7ansible-towerbefore 0:3.3.3-1.el7at0:3.3.3-1.el7at
Red Hat:cloudforms_managementengine:5.10::el7ansible-tower-serverbefore 0:3.3.3-1.el7at0:3.3.3-1.el7at
Red Hat:cloudforms_managementengine:5.10::el7ansible-tower-setupbefore 0:3.3.3-1.el7at0:3.3.3-1.el7at
Red Hat:cloudforms_managementengine:5.10::el7ansible-tower-uibefore 0:3.3.3-1.el7at0:3.3.3-1.el7at
Red Hat:cloudforms_managementengine:5.10::el7ansible-tower-venv-ansiblebefore 0:3.3.3-1.el7at0:3.3.3-1.el7at
Red Hat:cloudforms_managementengine:5.10::el7ansible-tower-venv-towerbefore 0:3.3.3-1.el7at0:3.3.3-1.el7at
Red Hat:cloudforms_managementengine:5.10::el7bubblewrapbefore 0:0.1.7-1.el70:0.1.7-1.el7
Red Hat:cloudforms_managementengine:5.10::el7bubblewrap-debuginfobefore 0:0.1.7-1.el70:0.1.7-1.el7
Red Hat:cloudforms_managementengine:5.10::el7cfmebefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-amazon-smartstatebefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-appliancebefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-appliance-commonbefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-appliance-debuginfobefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-appliance-toolsbefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-debuginfobefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-gemsetbefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7cfme-gemset-debuginfobefore 0:5.10.0.33-1.el7cf0:5.10.0.33-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7dbus-api-servicebefore 0:1.0.1-5.el7cf0:1.0.1-5.el7cf
Red Hat:cloudforms_managementengine:5.10::el7dumb-initbefore 0:1.2.0-1.el7cf0:1.2.0-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7dumb-init-debuginfobefore 0:1.2.0-1.el7cf0:1.2.0-1.el7cf
Red Hat:cloudforms_managementengine:5.10::el7erlangbefore 0:19.3.6.7-1.el7at0:19.3.6.7-1.el7at

+96

Other highest-scoring records for the same primary product.

  • CVE-2019-5477A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's `Kernel.open` me
    41Plan
  • CVE-2026-79770Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
    34Monitor
  • CVE-2022-29181Improper Handling of Unexpected Data Type in Nokogiri
    33Monitor
  • CVE-2022-23476Unchecked return value from xmlTextReaderExpand in Nokogiri
    31Monitor
  • CVE-2022-24836Inefficient Regular Expression Complexity in Nokogiri
    31Monitor
  • CVE-2021-41098Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRuby
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libnokogiri-ruby1.4.0-4+deb6u1 · Debian:6.0Package registry (OSV)
debian:ruby-nokogiri1.5.4-1 · Debian:12Package registry (OSV)
red hat:ansible-runner0:1.1.2-2.el7ar · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:ansible-tower0:3.3.3-1.el7at · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:ansible-tower-server0:3.3.3-1.el7at · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:ansible-tower-setup0:3.3.3-1.el7at · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:ansible-tower-ui0:3.3.3-1.el7at · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:ansible-tower-venv-ansible0:3.3.3-1.el7at · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:ansible-tower-venv-tower0:3.3.3-1.el7at · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:bubblewrap0:0.1.7-1.el7 · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:bubblewrap-debuginfo0:0.1.7-1.el7 · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:cfme0:5.10.0.33-1.el7cf · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:cfme-amazon-smartstate0:5.10.0.33-1.el7cf · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
red hat:cfme-appliance0:5.10.0.33-1.el7cf · Red Hat:cloudforms_managementengine:5.10::el7Package registry (OSV)
RubyGems:nokogiri1.5.4Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records