E2Pdf – Export Pdf Tool for WordPress <= 1.32.57 - Unauthenticated Stored Cross-Site Scripting via Export Dataset Labels

Medium 5.4 CWE-79Fixed in 1.32.58
ID
WPSEC-2026-1185
Plugin
E2Pdf – Export Pdf Tool for WordPress (e2pdf)
Affected
all versions before 1.32.58
Remediation
Update to 1.32.58 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-17
Attack surface
E2Pdf – Export Pdf Tool for WordPress on WPSec AttackSurface
Fix released
Published

Description

The E2Pdf plugin for WordPress is vulnerable to Stored Cross-Site Scripting via dataset labels on the admin Export and Bulk Export pages in all versions up to, and including, 1.32.57. This is due to the backend JavaScript inserting dataset labels into the page with jQuery .html() and innerHTML, and rebuilding the searchable dataset dropdown from each option's decoded text with innerHTML, instead of inserting them as text. Dataset labels are built from the template's dataset title, which can contain values from form entries, or from post titles by default. This makes it possible for unauthenticated attackers to inject arbitrary web scripts through a front-end form entry whose field values appear in the dataset title. The scripts execute in an administrator's browser when they load the template's datasets on the export page. Authenticated users, such as contributors, can do the same through post titles.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0