PT-2026-63592 · Niklaslindemann · Bulk Page Generator – Lpagery
CVSS v3.1
6.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
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= parameter pointing at the attacker's post.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Bulk Page Generator – Lpagery