Live threats

All CVEs / Jsx-slack Project

CVE-2021-43843Jsx-slack Project Jsx-slack

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Dec 20, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

jsx-slack is a package for building JSON objects for Slack block kit surfaces from JSX. The maintainers found the patch for CVE-2021-43838 in jsx-slack v4.5.1 is insufficient tfor protection from a Regular Expression Denial of Service (ReDoS) attack. If an attacker can put a lot of JSX elements into `<blockquote>` tag _with including multibyte characters_, an internal regular expression for escaping characters may consume an excessive amount of computing resources. v4.5.1 passes the test against ASCII characters but misses the case of multibyte characters. jsx-slack v4.5.2 has updated regular expressions for escaping blockquote characters to prevent catastrophic backtracking. It is also including an updated test case to confirm rendering multiple tags in `<blockquote>` with multibyte characters.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jsx-slack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm jsx-slack < 4.5.2 4.5.2 npm install jsx-slack@4.5.2

Per OSV / GitHub Advisories (GHSA-hp68-xhvj-x6j6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jsx-slack_projectjsx-slack< 4.5.2

Official sources

References

Links published by the sources. Open them with care.