{"id":"CVE-2022-23514","state":"PUBLISHED","title":"Inefficient Regular Expression Complexity in Loofah","description":"Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1.","publishedAt":"2022-12-14T13:19:25.943Z","updatedAt":"2025-11-03T21:45:53.018Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["flavorjones loofah"],"affected":[{"vendor":"flavorjones","product":"loofah","versions":[{"version":"< 2.19.1","status":"affected"}]}],"references":["https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","https://hackerone.com/reports/1684163","https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html","https://lists.debian.org/debian-lts-announce/2024/09/msg00044.html"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T19:49:40.939Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/23xxx/CVE-2022-23514.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-23514","state":"PUBLISHED","datePublished":"2022-12-14T13:19:25.943Z","dateUpdated":"2025-11-03T21:45:53.018Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","requesterUserId":"c184a3d9-dc98-4c48-a45b-d2d88cf0ac74","dateReserved":"2022-01-19T21:23:53.777Z"},"containers":{"cna":{"title":"Inefficient Regular Expression Complexity in Loofah","descriptions":[{"lang":"en","value":"Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1."}],"affected":[{"vendor":"flavorjones","product":"loofah","versions":[{"version":"< 2.19.1","status":"affected"}]}],"references":[{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","name":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","tags":["x_refsource_CONFIRM"]},{"url":"https://hackerone.com/reports/1684163","name":"https://hackerone.com/reports/1684163","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-09-13T16:06:21.710Z"},"source":{"advisory":"GHSA-486f-hjj9-9vhh","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","name":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://hackerone.com/reports/1684163","name":"https://hackerone.com/reports/1684163","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00044.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:45:53.018Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-21T14:49:18.392624Z","id":"CVE-2022-23514","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-21T14:50:27.172Z"}}]}}}