# CVE-2026-4006: Draft List <= 2.6.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'display_name' Parameter

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-03-19T06:46:14.630Z
- Modified: 2026-06-17T10:55:50.540Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- dartiss Draft List: up to 2.6.2

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/b5f0dc1a-6b6a-4370-a368-3687cffb43fc?source=cve>
- <https://plugins.trac.wordpress.org/browser/simple-draft-list/tags/2.6.2/inc/create-lists.php#L383>
- <https://plugins.trac.wordpress.org/browser/simple-draft-list/trunk/inc/create-lists.php#L383>
- <https://plugins.trac.wordpress.org/browser/simple-draft-list/trunk/inc/create-lists.php#L344>
- <https://plugins.trac.wordpress.org/browser/simple-draft-list/tags/2.6.2/inc/create-lists.php#L344>
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3482945%40simple-draft-list&new=3482945%40simple-draft-list&sfp_email=&sfph_mail=>

## Sources

- CVE List: [CVE-2026-4006](https://www.cve.org/CVERecord?id=CVE-2026-4006), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-4006](https://nvd.nist.gov/vuln/detail/CVE-2026-4006), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4006 · Whole record: https://cve.day/CVE-2026-4006.json · Rebuilt by cve.day 2026-11-25T22:59:16.166Z
