Vulnerability · Published Mar 9, 2021 · Assigned by snyk

CVE-2021-23353Regular Expression Denial of Service (ReDoS)

Medium 5.9

In plain English

A medium-severity security flaw in jspdf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)2.6%top 14.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmjspdf2.3.1GHSA-57f3-gghm-9mhc

Affected products (as reported)

VendorProductVersions
n/a jspdf unspecified – before 2.3.1

References