semver-regex <= 3.1.3 and 4.0.0-4.0.3 - Regular Expression Denial of Service (ReDoS)

Inefficient Regular Expression Complexity
CVE CVE-2021-43307
CVSS 7.5 (High)
Publicly Published May 13, 2022
Last Updated January 22, 2024


An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method. Some WordPress plugins and themes use this dependency though that doesn’t necessarily mean the plugin itself is vulnerable to exploitation.



Vulnerability Details for Insert Special Characters

Software Type Plugin
Software Slug insert-special-characters (view on
Patched? Yes
Remediation Update to version 1.0.5, or a newer patched version
Affected Version
  • <= 1.0.4
Patched Version
  • 1.0.5

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.