PDFDraft <= 1.1.0 - Missing Authorization to Unauthenticated Sensitive PDF Disclosure via 'slug' Parameter
Description
The PDFDraft – Drag & Drop PDF Builder, PDF Viewer, Embed & Download PDF, Certificate & Invoice Designer plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the serveTemplatePdfAjax() function and the serveTemplatePdf() REST route (which is registered with permission_callback => '__return_true') in versions up to, and including, 1.1.0. This makes it possible for unauthenticated attackers to download stored template PDFs — which may contain customer PII, invoice, order, and certificate data — by requesting the publicly registered admin-ajax action pdfdraft_embed_pdf or the REST endpoint /wp-json/pdfdraft/v1/embed-pdf/templates/{slug}/pdf with a known or guessable design slug, bypassing the plugin's own .
Affected products
2Patches
Vulnerability mechanics
References
6- plugins.trac.wordpress.org/browser/pdfdraft/trunk/src/EmbedPdf.phpmitre
- plugins.trac.wordpress.org/browser/pdfdraft/trunk/src/EmbedPdf.phpmitre
- plugins.trac.wordpress.org/browser/pdfdraft/trunk/src/EmbedPdf.phpmitre
- plugins.trac.wordpress.org/browser/pdfdraft/trunk/src/EmbedPdf.phpmitre
- plugins.trac.wordpress.org/changesetmitre
- www.wordfence.com/threat-intel/vulnerabilities/id/3cb869dd-c8cf-4849-a13f-6c8cf1c196b6mitre
News mentions
0No linked articles in our index yet.