Home

Description

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.

PUBLISHED Reserved 2026-03-11 | Published 2026-03-19 | Updated 2026-04-08 | Assigner Wordfence




MEDIUM: 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-03-11:Vendor Notified
2026-03-18:Disclosed

Credits

Anas Mokhtari finder

Abdelkhalek Beraoud finder

References

www.wordfence.com/...-6b6a-4370-a368-3687cffb43fc?source=cve

plugins.trac.wordpress.org/...ags/2.6.2/inc/create-lists.php

plugins.trac.wordpress.org/...ist/trunk/inc/create-lists.php

plugins.trac.wordpress.org/...ist/trunk/inc/create-lists.php

plugins.trac.wordpress.org/...ags/2.6.2/inc/create-lists.php

plugins.trac.wordpress.org/...aft-list&sfp_email=&sfph_mail=

cve.org (CVE-2026-4006)

nvd.nist.gov (CVE-2026-4006)

Download JSON