{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-23476","published":"2022-12-08T04:15:09.043000Z","last_modified":"2026-06-17T04:30:12.077000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-252","CWE-476"],"cpes":[{"criteria":"cpe:2.3:a:nokogiri:nokogiri:1.13.8:*:*:*:*:ruby:*:*","part":"a","vendor":"nokogiri","product":"nokogiri","version":"1.13.8"},{"criteria":"cpe:2.3:a:nokogiri:nokogiri:1.13.9:*:*:*:*:ruby:*:*","part":"a","vendor":"nokogiri","product":"nokogiri","version":"1.13.9"}],"cpes_truncated":false,"vendors":["nokogiri"],"products":["nokogiri/nokogiri"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.021,"percentile":0.82398,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qv4q-mr5r-qprj","ecosystem":"RubyGems","name":"nokogiri","purl":"pkg:gem/nokogiri","ranges":[{"introduced":"1.13.8","fixed":"1.13.10"}],"versions":["1.13.8","1.13.9"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-23476/","html_en":"/en/cve/CVE-2022-23476/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23476","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23476"},"untrusted":{"vendor_name":"Nokogiri","product_name":"Nokogiri","desc_en":"Nokogiri is an open source XML and HTML library for the Ruby programming language. Nokogiri `1.13.8` and `1.13.9` fail to check the return value from `xmlTextReaderExpand` in the method `Nokogiri::XML::Reader#attribute_hash`. This can lead to a null pointer exception when invalid markup is being parsed. For applications using `XML::Reader` to parse untrusted inputs, this may potentially be a vector for a denial of service attack. Users are advised to upgrade to Nokogiri `>= 1.13.10`. Users may be able to search their code for calls to either `XML::Reader#attributes` or `XML::Reader#attribute_hash` to determine if they are affected.","affected":[{"untrusted_vendor":"sparklemotion","untrusted_product":"nokogiri","versions":[]}],"references":[{"url":"https://github.com/sparklemotion/nokogiri/commit/85410e38410f670cbbc8c5b00d07b843caee88ce","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sparklemotion/nokogiri/commit/9fe0761c47c0d4270d1a5220cfd25de080350d50","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-qv4q-mr5r-qprj","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10356-1","url":"https://www.suse.com/support/update/","published":"2026-03-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media"}}]}