PT-2026-26257 · Dartiss · Draft List
Abdelkhalek Beraoud
+1
·
Published
2026-03-19
·
Updated
2026-03-19
·
CVE-2026-4006
CVSS v3.1
6.4
Medium
| AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
The Simple Draft List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display name' post meta (Custom Field) in all versions up to and including 2.6.2. This is due to insufficient input sanitization and output escaping on the author display name when no author URL is present. The plugin accesses
$draft data->display name which, because display name is not a native WP Post property, triggers WP Post:: get() and resolves to get post meta($post id, 'display name', true). When the user url meta field is empty, the $author value is assigned to $author link on line 383 without any escaping (unlike line 378 which uses esc html() for the {{author}} tag, and line 381 which uses esc html() when a URL is present). This unescaped value is then inserted into the shortcode output via str replace(). 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 user accesses a page containing the [drafts] shortcode with the {{author+link}} template tag.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Draft List