CVE-2012-6685
HIGH 7.5CVSS 3.1Nokogiri is vulnerable to XML External Entity (XXE) attack
Nokogiri before 1.5.4 is vulnerable to XXE attacks
- Published
- 19 Feb 2020
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-776
- Also known as
- GHSA-6wj9-77wq-jq7p
- Sources
- NVDJSONOSV GHSA-6wj9-77wq-jq7pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nokogiri | nokogiricpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:*:*:* |
< 1.5.4 | 1.5.4 |
| NVD | redhat | cloudforms_management_enginecpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | redhat | openshiftcpe:2.3:a:redhat:openshift:2.0:*:*:*:enterprise:*:*:* |
= 2.0 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | openstack_foremancpe:2.3:a:redhat:openstack_foreman:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | subscription_asset_managercpe:2.3:a:redhat:subscription_asset_manager:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | enterprise_mrgcpe:2.3:o:redhat:enterprise_mrg:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| OSV | RubyGems | nokogiri | < 1.5.4 | 1.5.4 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1178970 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/sparklemotion/nokogiri/issues/693 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nokogiri.org/CHANGELOG.html#154-2012-06-12 · Release Notes, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-6685 · ADVISORY
- https://github.com/sparklemotion/nokogiri · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 19 Feb 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Apr 2022)