Every CVE Search/ Get API key

CVE-2021-3822

Inefficient Regular Expression Complexity in josdejong/jsoneditor

5.3 MediumFix available

jsoneditor is vulnerable to Inefficient Regular Expression Complexity

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

1.42%Up 0.8 points since Sep 28, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.3

Inefficient Regular Expression Complexity in josdejong/jsoneditor

jsoneditor is vulnerable to Inefficient Regular Expression Complexity

Record
CVE-2021-3822
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-1333
Updated
2026-11-02
EUVDEUVD-2021-2072 5.3

jsoneditor is vulnerable to Inefficient Regular Expression Complexity

Record
EUVD-2021-2072
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-hhfg-6hfc-rvxm 5.3

Regular Expression Denial of Service in jsoneditor

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.

Record
GHSA-hhfg-6hfc-rvxm
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-400, CWE-697, CWE-1333
Updated
2026-11-02
NVD 7.5

jsoneditor is vulnerable to Inefficient Regular Expression Complexity

Record
CVE-2021-3822
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-1333, CWE-400
Updated
2026-11-02
OSV 7.5

jsoneditor is vulnerable to Inefficient Regular Expression Complexity

Record
CVE-2021-3822
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-hhfg-6hfc-rvxm 5.3

Regular Expression Denial of Service in jsoneditor

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.

Record
GHSA-hhfg-6hfc-rvxm
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-1333, CWE-400, CWE-697
Updated
2026-11-02
OSVCLSA-2026-1780879896 No score

TuxCare security update for jsoneditor (2 CVEs)

TuxCare rebuilt jsoneditor to address 2 CVEs. Fixed in 5.19.0-tuxcare.1.

Record
CLSA-2026-1780879896
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
jsoneditor
npm
before 9.5.6
9.5.6
jsoneditor
TuxCare:npm
From an advisory covering 2 CVEs
5.19.0-tuxcare.0 up to 5.19.0-tuxcare.1, plus listed versions
5.19.0
5.19.0-tuxcare.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3822 is a medium vulnerability (CVSS 5.3) in Josdejong Josdejong/jsoneditor, published September 27, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.42%, the 72nd percentile. Fixed in jsoneditor 9.5.6.

References

MoveEnter Open