# CVE-2021-3822: Inefficient Regular Expression Complexity in josdejong/jsoneditor

- Severity: Medium 5.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.42%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-27T12:25:28.000Z
- Modified: 2026-06-17T04:05:50.360Z
- Also known as: GHSA-hhfg-6hfc-rvxm
- Weaknesses: CWE-400, CWE-697, CWE-1333
- Assigned by: @huntrdev

## Description

jsoneditor is vulnerable to Inefficient Regular Expression Complexity

(As written by CVE List.)

## Affected

- josdejong josdejong/jsoneditor: from unspecified before 9.5.6
- jsoneditor (npm): before 9.5.6
- jsoneditoronline jsoneditor: before 9.5.6

## Every score

- @huntrdev: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://huntr.dev/bounties/1e3ed803-b7ed-42f1-a4ea-c4c75da9de73> (exploit, patch, third-party-advisory, web)
- <https://github.com/josdejong/jsoneditor/commit/092e386cf49f2a1450625617da8e0137ed067c3e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3822> (advisory)
- <https://github.com/josdejong/jsoneditor> (package)

## Sources

- CVE List: [CVE-2021-3822](https://www.cve.org/CVERecord?id=CVE-2021-3822), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hhfg-6hfc-rvxm](https://github.com/advisories/GHSA-hhfg-6hfc-rvxm), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3822](https://nvd.nist.gov/vuln/detail/CVE-2021-3822), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3822 · Whole record: https://cve.day/CVE-2021-3822.json · Rebuilt by cve.day 2026-11-25T22:58:04.167Z
