BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2012-6685 in Nokogiri and 7 more products

High 7.5

Nokogiri before 1.5.4 is vulnerable to XXE attacks

Affects 8 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS2.2%
EPSS percentile83th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Nokogiri Nokogiri < 1.5.4
Redhat Enterprise Mrg 2.0
Redhat Openshift 2.0
Redhat Subscription Asset Manager No version listed by the source
Redhat Satellite 6.0
Redhat Cloudforms Management Engine 5.0
Redhat Openstack Foreman No version listed by the source
Redhat Openstack 4.0 6.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Nokogiri before 1.5.4 is vulnerable to XXE attacks

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2012-6685
BreachSpider IDBS-2020-GLOBAL-092720-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2020-02-19
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-776: CWE-776

Related attack patterns (CAPEC)

CAPEC-197 Exponential Data Expansion via CWE-776

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Nokogiri versions prior to 1.5.4 are susceptible to XML External Entity (XXE) attacks, which can lead to unauthorized access to internal files and potentially remote code execution.

An attacker can exploit this vulnerability by crafting malicious XML input that references external entities. When Nokogiri processes this XML, it may resolve and include the contents of these entities, leading to information disclosure or other attacks.

Questions

What is CVE-2012-6685?

Nokogiri versions prior to 1.5.4 are susceptible to XML External Entity (XXE) attacks, which can lead to unauthorized access to internal files and potentially remote code execution.

What is the CVSS score for CVE-2012-6685?

CVE-2012-6685 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 2.2%.

Is CVE-2012-6685 actively exploited?

No confirmed active exploitation of CVE-2012-6685 as of 2026-09-25.

How do I remediate CVE-2012-6685?

Priority: HIGH. Advisory: https://nokogiri.org/CHANGELOG.html#154-2012-06-12

What systems are affected by CVE-2012-6685?

CVE-2012-6685 affects Nokogiri Nokogiri; Redhat Enterprise Mrg, Openshift, Subscription Asset Manager, Satellite, Cloudforms Management Engine, Openstack Foreman, Openstack.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nokogiri","product":"Nokogiri","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.