Aikido Reports Stored XSS in WordPress Development Build Before Release

Summary
Aikido says Deep Review identified and reproduced a stored XSS in WordPress development build 7.2-alpha-64254. WordPress reverted the change before release; official releases were not affected.
Key points
- Aikido reports that an author could place JavaScript in an image attribute; the payload could execute when an administrator selected the image in the Classic editor.
- The issue arose after a WordPress change enabled TinyMCE’s element path; an author-controlled value reached TinyMCE’s innerHTML renderer.
- The vulnerability was limited to development build 7.2-alpha-64254 and commit 7fdd5ebe4bbcf9e92d7f85ae662efabc936f4235.
- Aikido says it reproduced the issue and privately reported it to WordPress on October 9, 2026.
- WordPress reverted the change before it reached a stable release; the article says official WordPress releases were unaffected.
Article Details
- Vulnerability Types
- Stored cross-site scripting (XSS)
- Severity
- High
- Affected Versions
- WordPress 7.2-alpha-64254
- Exploitation Status
- reported
- Exploit Availability
- public_poc
- Patch Status
- available
- Workarounds
- Restore elementpath = false.
MITRE ATT&CK
Vendors
Products
TinyMCEinto class-wp-editor.php, found how WordPress builds the element name in ResolveName, and continued into TinyMCE's innerHTML call. This exposed the full path from an author-controlled attribute to HTML rendered in anWordPressTL;DR: Aikido's Deep Review flagged a stored cross-site scripting (XSS) path ten minutes after the vulnerable WordPress commit was pushed.
