Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-32696: The npm package "striptags" is an implementation of PHP's strip_tags in Typescript

34
Routine
LOW 3.7REMOTEUPGRADE

CVE-2021-32696 is a low-severity flaw (CVSS 3.7) affecting striptags. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The npm package "striptags" is an implementation of PHP's strip_tags in Typescript. In striptags before version 3.2.0, a type-confusion vulnerability can cause `striptags` to concatenate unsanitized strings when an array-like object is passed in as the `html` parameter. This can be abused by an attacker who can control the shape of their input, e.g. if query parameters are passed directly into the function. This can lead to a XSS.

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score3.7 (Low)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance1.1% (top 35%)
CISA exploited listNo
WeaknessCWE-79, CWE-241, CWE-843
Published2021-06-18
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: striptags project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

striptags project striptags UPGRADE
Affected: < 3.2.0
Fixed in: 3.2.0
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls striptags
2. UPGRADE to 3.2.0
npm install striptags@">=3.2.0"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-32696?

striptags: upgrade to 3.2.0. Exact commands for each OS are on this page.

Is CVE-2021-32696 being exploited?

CVE-2021-32696 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-32696 affect?

CVE-2021-32696 affects striptags. Severity is low (CVSS 3.7). The npm package "striptags" is an implementation of PHP's strip_tags in Typescript. In striptags before version 3.2.0, a type-confusion vulnerability can cause `striptags` to concatenate unsanitized strings when an array-like object is pass

How urgent is CVE-2021-32696?

Priority 34/100. Remotely exploitable, no login, no user action

Software pages

PHP vulnerabilities · npm packages vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.