PT-2026-65388 · WordPress · Pdfdraft
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
PDFDraft versions prior to 1.1.1
Description
Unauthorized access to data is possible due to a missing capability check in the
serveTemplatePdfAjax() function and the serveTemplatePdf() REST route, which is registered with permission callback => ' return true'. Unauthenticated attackers can download stored template PDFs containing customer personally identifiable information (PII), invoices, orders, and certificate data. This is achieved by requesting the pdfdraft embed pdf admin-ajax action or the /wp-json/pdfdraft/v1/embed-pdf/templates/{slug}/pdf REST endpoint using a known or guessable slug variable.Recommendations
Update to a version later than 1.1.0.
Restrict access to the
/wp-json/pdfdraft/v1/embed-pdf/templates/{slug}/pdf REST endpoint and the pdfdraft embed pdf action to minimize the risk of exploitation.Fix
Missing Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pdfdraft