All reports
Medium

Regular Expression Denial of Service in jsoneditor

Affected versions

Affected versions
< 9.5.6
Fixed version
9.5.6

Exploitation

CVE-2021-3822

Probability of exploitation in the next 30 days: 1.42%

FIRST EPSS · 2026-11-21

Description

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.

Links