CVE-2026-15404: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in niklaslindemann Bulk Page Generator – LPagery
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.
AI Analysis
Technical Summary
CVE-2026-15404 describes a stored Cross-Site Scripting vulnerability in the LPagery plugin for WordPress. The issue occurs because the function lpagery_add_filter_text_template_post(), hooked to admin_footer, outputs the raw post_title referenced by the ?lpagery_template query parameter directly inside a JavaScript single-quoted string literal without proper escaping functions such as esc_js() or esc_html(). This allows authenticated attackers with Contributor-level permissions or above to inject arbitrary JavaScript code that executes in the context of higher-privileged users (e.g., administrators) when they access an admin page with the crafted parameter.
Potential Impact
An attacker with Contributor-level access or higher can inject persistent malicious scripts into post titles. These scripts execute in the browsers of higher-privileged users who view the affected admin pages, potentially leading to session hijacking, privilege escalation, or other malicious actions within the WordPress admin context. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity), indicating a moderate risk with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
No official patch or remediation is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level access to trusted users only and avoid visiting admin pages with the ?lpagery_template query parameter referencing untrusted posts. Monitor vendor channels for updates and apply official fixes once released.
CVE-2026-15404: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in niklaslindemann Bulk Page Generator – LPagery
Description
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.
CVSS v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-15404 describes a stored Cross-Site Scripting vulnerability in the LPagery plugin for WordPress. The issue occurs because the function lpagery_add_filter_text_template_post(), hooked to admin_footer, outputs the raw post_title referenced by the ?lpagery_template query parameter directly inside a JavaScript single-quoted string literal without proper escaping functions such as esc_js() or esc_html(). This allows authenticated attackers with Contributor-level permissions or above to inject arbitrary JavaScript code that executes in the context of higher-privileged users (e.g., administrators) when they access an admin page with the crafted parameter.
Potential Impact
An attacker with Contributor-level access or higher can inject persistent malicious scripts into post titles. These scripts execute in the browsers of higher-privileged users who view the affected admin pages, potentially leading to session hijacking, privilege escalation, or other malicious actions within the WordPress admin context. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity), indicating a moderate risk with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
No official patch or remediation is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level access to trusted users only and avoid visiting admin pages with the ?lpagery_template query parameter referencing untrusted posts. Monitor vendor channels for updates and apply official fixes once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-10T13:46:46.096Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a61dd649c2644c7f8c8ebbc
Added to database: 07/23/2026, 09:22:44 UTC
Last enriched: 07/23/2026, 09:40:03 UTC
Last updated: 07/24/2026, 03:49:05 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.