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.
Published: 2026-07-23
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

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

Thu, 23 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 09:30:00 +0000

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'}


Subscriptions

Niklaslindemann Bulk Page Generator – Lpagery
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-23T13:55:19.140Z

Reserved: 2026-07-10T13:46:46.096Z

Link: CVE-2026-15404

cve-icon Vulnrichment

Updated: 2026-07-23T13:55:16.112Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T10:16:50.560

Modified: 2026-07-23T15:14:51.013

Link: CVE-2026-15404

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:00:04Z

Weaknesses
  • CWE-79

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