{"id":"CVE-2026-49466","summary":"Draft List - Contributor Stored Cross-Site Scripting via Draft Title in Custom Drafts Template Attributes","details":"Draft List is a WordPress plugin to manage and promote unpublished content. Versions 2.6.3 and below are vulnerable to stored Cross-Site Scripting (XSS) in the `[drafts]` shortcode and Draft List widget when the documented custom `template` option places the `{{draft}}` placeholder inside an HTML attribute. The vulnerable code inserts the raw draft `post_title` into `{{draft}}` when the current viewer cannot edit posts. Because the template is sanitized before `{{draft}}` replacement, a Contributor can store a quote-only title payload that breaks out of an attribute in a site-configured Draft List template and executes JavaScript for visitors who load the public page. Version 2.6.4 fixes the issue.","aliases":["GHSA-xxx9-hfqp-f83f"],"modified":"2026-08-15T11:31:10.235761098Z","published":"2026-08-12T19:26:34.270Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49466.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/dartiss/draft-list/compare/2.6.3...2.6.4"},{"type":"WEB","url":"https://github.com/dartiss/draft-list/releases/tag/2.6.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49466.json"},{"type":"ADVISORY","url":"https://github.com/dartiss/draft-list/security/advisories/GHSA-xxx9-hfqp-f83f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49466"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dartiss/draft-list","events":[{"introduced":"0"},{"fixed":"e6be53aac23202b17fbe947b343a1ff361832ada"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"2.6.4"}]}}],"versions":["2.6.3","2.6.2","2.6.1","2.6","2.5.2","2.5.1","2.5","2.4","2.3.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49466.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"}]}