What to do2 steps
Update WordPress to 7.1.1.
On another branch, update to the security release for your branch. Fixes go back to 4.7.36. The fix makes the
<p><blockquote>regex quote-aware.Close comments until patched.
Moderation alone is not a reliable gate. Updating does not undo a plugin already uploaded, so check for unfamiliar plugins.
Are you affected?only if all are true
- The comment needs no account, but it must be shown on the page; WordPress lists the fix as "subject to comment approval".
- The finder describes three ways around approval, including returning commenters, who are auto-approved by default (comment_previously_approved = 1).
- The handler fires on block themes, or on classic themes that run comments through the same filters (the finder names Twenty Twenty-One).
- PHP execution needs a logged-in administrator to load the page; the script then uses their session to upload a plugin.
Check your version
- WP-CLI
wp core version - Without WP-CLI, from the WordPress root
grep '^\$wp_version' wp-includes/version.php - Prompt for your own agent, read-onlyAm I affected by Comment2Shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by Comment2Shell (CVE-2026-93485). An anonymous comment slips past KSES, and wpautop() then turns it into a live event handler that fires on page load; when a logged-in admin views the page, the script uploads a plugin for PHP execution. It is exploitable under these conditions: - The comment needs no account, but it must be shown on the page; WordPress lists the fix as "subject to comment approval". - The finder describes three ways around approval, including returning commenters, who are auto-approved by default (comment_previously_approved = 1). - The handler fires on block themes, or on classic themes that run comments through the same filters (the finder names Twenty Twenty-One). - PHP execution needs a logged-in administrator to load the page; the script then uses their session to upload a plugin. Fixed releases: - WordPress: 7.1.1 (branch 7.1), 7.0.5 (branch 7.0), 6.9.8 (branch 6.9), 6.8.9 (branch 6.8), 6.7.8 (branch 6.7), 6.6.8 (branch 6.6), 6.5.11 (branch 6.5), 6.4.11 (branch 6.4), 6.3.11 (branch 6.3), 6.2.12 (branch 6.2), 6.1.13 (branch 6.1), 6.0.15 (branch 6.0), 5.9.17 (branch 5.9), 5.8.16 (branch 5.8), 5.7.18 (branch 5.7), 5.6.20 (branch 5.6), 5.5.21 (branch 5.5), 5.4.22 (branch 5.4), 5.3.24 (branch 5.3), 5.2.27 (branch 5.2), 5.1.25 (branch 5.1), 5.0.28 (branch 5.0), 4.9.32 (branch 4.9), 4.8.31 (branch 4.8), 4.7.36 (branch 4.7) Fixed versions per branch are from the CVE record. WordPress 4.6 and earlier no longer receive security updates. Commands the catalog lists to find the version or the setting (read each one before you run it): - WP-CLI: wp core version - Without WP-CLI, from the WordPress root: grep '^\$wp_version' wp-includes/version.php What the catalog says to do on an affected system (report these, do not carry them out): 1. Update WordPress to 7.1.1. 2. Close comments until patched. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://wordpress.2shell.wtf/comment2shell
Affected versions25 branches
| WordPress branch | Fixed in |
|---|---|
| 7.1 | 7.1.1 |
| 7.0 | 7.0.5 |
| 6.9 | 6.9.8 |
| 6.8 | 6.8.9 |
| 6.7 | 6.7.8 |
| 6.6 | 6.6.8 |
| 6.5 | 6.5.11 |
| 6.4 | 6.4.11 |
| 6.3 | 6.3.11 |
| 6.2 | 6.2.12 |
| 6.1 | 6.1.13 |
| 6.0 | 6.0.15 |
| 5.9 | 5.9.17 |
| 5.8 | 5.8.16 |
| 5.7 | 5.7.18 |
| 5.6 | 5.6.20 |
| 5.5 | 5.5.21 |
| 5.4 | 5.4.22 |
| 5.3 | 5.3.24 |
| 5.2 | 5.2.27 |
| 5.1 | 5.1.25 |
| 5.0 | 5.0.28 |
| 4.9 | 4.9.32 |
| 4.8 | 4.8.31 |
| 4.7 | 4.7.36 |
Fixed versions per branch are from the CVE record. WordPress 4.6 and earlier no longer receive security updates.
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
The finder publishes the chain and a proof of concept
Timeline4 events
Reported to the vendor
Reported to WordPress through the Patchstack bug bounty by Rafie Muhammad
Patched
WordPress 7.1.1 released, with fixes back to 4.7.36
Disclosed
Patchstack publishes CVE-2026-93485
Public PoC
The finder publishes the chain and a proof of concept
Sources6 links
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
3 changes since it was published
- Corrected the finder's affiliation and report channel to Patchstack (the CVE credit is Patchstack Bug Bounty).
- Remediation steps got short titles; no fact changed.
- Updated source links that moved to a new address.
