{"id":"CVE-2021-3822","aliases":["GHSA-hhfg-6hfc-rvxm"],"url":"https://o3.security/vulnerability/CVE-2021-3822","summary":"Regular Expression Denial of Service in jsoneditor","details":"JSON Editor is a web-based tool to view, edit, format, and validate JSON. It has various modes such as a tree editor, a code editor, and a plain text editor. The jsoneditor package is vulnerable to ReDoS (regular expression denial of service). An attacker that is able to provide a crafted element as input to the getInnerText function may cause an application to consume an excessive amount of CPU. Below pinned line using vulnerable regex.","published":"2021-09-27T13:15:07.940Z","modified":"2026-07-09T01:31:39.984248Z","cvss":{"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"},"epss":{"score":0.01418,"percentile":0.70849,"asOf":"2026-08-27"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"jsoneditor","fixedVersion":"9.5.6"}],"fix":{"url":"https://github.com/josdejong/jsoneditor/commit/092e386cf49f2a1450625617da8e0137ed067c3e","label":"josdejong/jsoneditor@092e386"},"references":[{"type":"FIX","url":"https://github.com/josdejong/jsoneditor/commit/092e386cf49f2a1450625617da8e0137ed067c3e"},{"type":"FIX","url":"https://huntr.dev/bounties/1e3ed803-b7ed-42f1-a4ea-c4c75da9de73"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3822"},{"type":"PACKAGE","url":"https://github.com/josdejong/jsoneditor"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:31:39.984248Z"}}