CVE-2026-4006: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dartiss Draft List
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.
AI Analysis
Technical Summary
CVE-2026-4006 is a stored cross-site scripting vulnerability in the Simple Draft List WordPress plugin (dartiss Draft List) affecting all versions up to 2.6.2. The issue arises from insufficient input sanitization and output escaping of the 'display_name' post meta field when the 'user_url' meta field is empty. The plugin retrieves the display name via get_post_meta and inserts it unescaped into the shortcode output, specifically in the '{{author+link}}' template tag. Authenticated attackers with Contributor-level privileges or higher can exploit this to inject arbitrary JavaScript that executes in the context of users viewing the affected shortcode, potentially leading to session hijacking or other XSS impacts.
Potential Impact
Successful exploitation allows authenticated users with Contributor or higher privileges to inject persistent malicious scripts into pages using the '[drafts]' shortcode with the vulnerable template tag. This can lead to client-side script execution in other users' browsers, potentially enabling session hijacking, defacement, or other attacks that rely on cross-site scripting. The vulnerability does not affect availability and requires authenticated access, limiting its scope somewhat. The CVSS score of 6.4 reflects a medium severity with low attack complexity but requiring privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting Contributor-level user capabilities or avoid using the '[drafts]' shortcode with the '{{author+link}}' template tag. Monitoring for plugin updates from the vendor is recommended to apply any forthcoming official patches promptly.
CVE-2026-4006: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dartiss Draft List
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4006 is a stored cross-site scripting vulnerability in the Simple Draft List WordPress plugin (dartiss Draft List) affecting all versions up to 2.6.2. The issue arises from insufficient input sanitization and output escaping of the 'display_name' post meta field when the 'user_url' meta field is empty. The plugin retrieves the display name via get_post_meta and inserts it unescaped into the shortcode output, specifically in the '{{author+link}}' template tag. Authenticated attackers with Contributor-level privileges or higher can exploit this to inject arbitrary JavaScript that executes in the context of users viewing the affected shortcode, potentially leading to session hijacking or other XSS impacts.
Potential Impact
Successful exploitation allows authenticated users with Contributor or higher privileges to inject persistent malicious scripts into pages using the '[drafts]' shortcode with the vulnerable template tag. This can lead to client-side script execution in other users' browsers, potentially enabling session hijacking, defacement, or other attacks that rely on cross-site scripting. The vulnerability does not affect availability and requires authenticated access, limiting its scope somewhat. The CVSS score of 6.4 reflects a medium severity with low attack complexity but requiring privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting Contributor-level user capabilities or avoid using the '[drafts]' shortcode with the '{{author+link}}' template tag. Monitoring for plugin updates from the vendor is recommended to apply any forthcoming official patches promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-11T18:57:28.782Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69bba122e32a4fbe5f9bab77
Added to database: 3/19/2026, 7:09:22 AM
Last enriched: 4/9/2026, 11:36:27 AM
Last updated: 5/2/2026, 8:33:27 PM
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.