CVE-2026-15404

Bulk Page Generator <= 2.5.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Title

Published Jul 23, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Bulk Page Generator plugin allows an authenticated user with Contributor access or higher to store arbitrary JavaScript in a post title. The vulnerability exists because the lpagery_add_filter_text_template_post() function echoes the raw post_title inside a JavaScript single‑quoted string literal without proper escaping or sanitization. When a higher‑privileged user visits an admin page with the ?lpagery_template=<post_id> parameter pointing at the malicious post, the injected script runs in that user’s browser context, allowing the attacker to steal session cookies, deface content, or perform other malicious actions.

Affected Systems

The affected product is Bulk Page Generator – LPagery by niklaslindemann, with all releases up to and including 2.5.7 vulnerable. Earlier versions are not affected.

Risk and Exploitability

The CVSS score is 6.4, reflecting a moderate severity. The EPSS score of <1 % indicates a very low probability of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires authenticated access at the Contributor level or above, but once a malicious post exists it will affect any administrator or higher‑privileged user who accesses the admin interface with the corresponding query parameter.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Bulk Page Generator to the latest version, which removes the unsanitized echo of the post title and protects against stored XSS
  • If an update is not immediately possible, disable or remove the ?lpagery_template query parameter from URLs that are accessible to privileged users, or block the parameter using a firewall or web‑application‑protection plugin
  • Sanitize or delete existing post titles that contain malicious JavaScript to eliminate the stored payloads in the database

Generated by OpenCVE AI on August 3, 2026 at 22:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Niklaslindemann
Niklaslindemann bulk Page Generator – Lpagery
Wordpress
Wordpress wordpress
Vendors & Products Niklaslindemann
Niklaslindemann bulk Page Generator – Lpagery
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Bulk Page Generator <= 2.5.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Title
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 23, 2026, 1:55 PM
Reserved
Jul 10, 2026, 1:46 PM
Status
Deferred
Published
Jul 23, 2026, 10:16 AM
Modified
Jul 23, 2026, 3:14 PM