Live threats

All CVEs / Jsx-slack Project

CVE-2021-43838Jsx-slack Project Jsx-slack

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Dec 17, 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 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.

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.1 4.5.1 npm install jsx-slack@4.5.1

Per OSV / GitHub Advisories (GHSA-55xv-f85c-248q). 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.