CVE-2012-6685
CVE-2012-6685 is a high-severity vulnerability in Nokogiri with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-776.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 2% (80th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-776
- Affected product: Nokogiri
- Published:
- Last modified:
Description
Nokogiri before 1.5.4 is vulnerable to XXE attacks
Frequently asked questions
- What is CVE-2012-6685?
- Nokogiri before 1.5.4 is vulnerable to XXE attacks
- How severe is CVE-2012-6685?
- CVE-2012-6685 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2012-6685 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (80th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-6685?
- CVE-2012-6685 primarily affects Nokogiri. In total, 9 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-6685?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2012-6685 published?
- CVE-2012-6685 was published on 2020-02-19 and last updated on 2026-06-16.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1178970
- https://github.com/sparklemotion/nokogiri/issues/693
- https://nokogiri.org/CHANGELOG.html#154-2012-06-12
Affected products (9)
- cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift:2.0:*:*:*:enterprise:*:*:*
- cpe:2.3:a:redhat:openstack:4.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openstack_foreman:-:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:subscription_asset_manager:-:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_mrg:2.0:*:*:*:*:*:*:*
More vulnerabilities in Nokogiri
- CVE-2019-5477 — Critical (CVSS 9.8): A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via…
- CVE-2026-57236 — High (CVSS 8.2): Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, calling…
- CVE-2026-57235 — High (CVSS 8.2): Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4,…
- CVE-2022-29181 — High (CVSS 8.2): Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all…
- CVE-2026-57435 — High (CVSS 7.5): Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri’s CRuby…
- CVE-2026-57434 — High (CVSS 7.5): Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a…
Other CWE-776 vulnerabilities
- CVE-2019-19144 — Critical (CVSS 9.8): XML External Entity Injection vulnerability in Quantum DXi6702 2.3.0.3 (11449-53631 Build304) devices via…
- CVE-2022-23640 — Critical (CVSS 9.8): Excel-Streaming-Reader is an easy-to-use implementation of a streaming Excel reader using Apache POI. Prior to…
- CVE-2014-2228 — Critical (CVSS 9.8): The XStream extension in HP Fortify SCA before 2.2 RC3 allows remote attackers to execute arbitrary code via unsafe…
- CVE-2013-4335 — Critical (CVSS 9.8): opOpenSocialPlugin 0.8.2.1, > 0.9.9.2, 0.9.13, 1.2.6: Multiple XML External Entity Injection Vulnerabilities
- CVE-2021-23926 — Critical (CVSS 9.1): The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from…
- CVE-2020-24590 — Critical (CVSS 9.1): The Management Console in WSO2 API Manager through 3.1.0 and API Microgateway 2.2.0 allows XML Entity Expansion attacks.