WP Block and Stop Bad Bots <= 6.88 - SQL Injection

9.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-25070
CVSS 9.8 (Critical)
Publicly Published March 8, 2022
Last Updated November 30, 2022
Researcher Krzysztof Zając - CERT PL

Description

The Block Bad Bots WordPress plugin before 6.88 does not properly sanitise and escape the User Agent before using it in a SQL statement to record logs, leading to an SQL Injection issue

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection

Software Type Plugin
Software Slug stopbadbots (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.90, or a newer patched version
Affected Version
  • < 6.88
Patched Version
  • 6.90

Recent vulnerabilities in Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection

# Title CVE ID CVSS Researchers Date
1 Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection <= 11.58 - Insufficient Authorization to Unauthenticated Blocklist Bypass CVE-2025-9376 6.5 Jarno Vos (jarnovos) August 27, 2025
2 Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection <= 10.23 - Missing Authorization to Information Expsoure CVE-2024-4355 4.3 Krzysztof Zając May 29, 2024
3 StopBadBots <= 7.31 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2023-32496 4.4 Taihei Shimamine May 9, 2023
4 StopBadBots <= 7.23 - Missing Authorization to Arbitrary Plugin Installation CVE-2022-3883 6.5 István Márton November 18, 2022
5 WP Block and Stop Bad Bots <= 6.92 - SQL Injection CVE-2022-0949 9.8 cydave March 16, 2022
6 WP Block and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection Plugin StopBadBots < 6.67 - Unauthenticated SQL Injection CVE-2021-24863 9.8 ZhongFu Su November 15, 2021
7 Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection < 6.6.7 - Reflected Cross-Site Scripting 6.1 WPScanTeam August 25, 2021
8 Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection <= 6.61 - Reflected Cross-Site Scripting 6.1 August 25, 2021
9 WP Block and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection Plugin StopBadBots < 6.60 - Authenticated SQL Injection CVE-2021-24727 8.8 Martin Vierula August 6, 2021

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.

Documentation