Regular Expression Denial of Service (ReDoS) in jsx-slack
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| yhatt | jsx-slack | before 4.5.1 | 4.5.1 | Patch available | CNA |
| — | jsx-slack (npm) | before 4.5.1 | 4.5.1 | Patch available | GHSA-55xv-f85c-248q |
- jsx-slack Vendoryhatt Affected before 4.5.1 Fixed in 4.5.1 Patch available CNA
- jsx-slack (npm) Vendor— Affected before 4.5.1 Fixed in 4.5.1 Patch available GHSA-55xv-f85c-248q
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:jsx-slack_project:jsx-slack:*:*:*:*:*:node.js:*:* | before 4.5.2 | Vulnerable | Jsx-slack Project |
- cpe:2.3:a:jsx-slack_project:jsx-slack:*:*:*:*:*:node.js:*:* Versions before 4.5.2 Vulnerable ·Jsx-slack Project
Remediation
- Fix · CNA jsx-slack (yhatt) Fixed in 4.5.1
- Fix · GHSA-55xv-f85c-248q jsx-slack (npm) Fixed in 4.5.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43838
- 2026-10-03 Alias added: GHSA-55xv-f85c-248q
References
More Jsx-slack Project Jsx-slack vulnerabilities
- TI-2021-19649 Insufficient patch for Regular Expression Denial of Service (ReDoS) to jsx-slack v4.5.1 CVSS 3.1HIGH 7.5
Sources
- CVE-2021-43838 · CVE Program
- CVE-2021-43838 · NVD
- FIRST EPSS
- GHSA-55xv-f85c-248q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences