CVE-2021-43838
HIGH 7.5CVSS 3.1Regular Expression Denial of Service (ReDoS) in jsx-slack
jsx-slack is a library for building JSON objects for Slack Block Kit surfaces from JSX. In versions prior to 4.5.1 users are vulnerable to a regular expression denial-of-service (ReDoS) attack. If attacker can put a lot of JSX elements into <blockquote> tag, an internal regular expression for escaping characters may consume an excessive amount of computing resources. jsx-slack v4.5.1 has patched to a regex for escaping blockquote characters. Users are advised to upgrade as soon as possible.
- Published
- 17 Dec 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-55xv-f85c-248q
- Sources
- NVDJSONOSV GHSA-55xv-f85c-248qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jsx-slack_project | jsx-slackcpe:2.3:a:jsx-slack_project:jsx-slack:*:*:*:*:*:node.js:*:* |
< 4.5.2 | 4.5.2 |
| OSV | npm | jsx-slack | < 4.5.1 | 4.5.1 |
References
- https://github.com/yhatt/jsx-slack/commit/36e4a10405e4c7745333e245fcc5029c02c7065d · Patch, Third Party Advisory, WEB
- https://github.com/yhatt/jsx-slack/security/advisories/GHSA-55xv-f85c-248q · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43838 · ADVISORY
- https://github.com/yhatt/jsx-slack · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Dec 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Dec 2021)