5.1medium
Ditty < 3.1.70 Stored XSS via Layout Tag Wrapper Attribute
- Severity
- 5.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Metaphor Creations Ditty (ditty-news-ticker) before 3.1.70 contains a stored cross-site scripting vulnerability that allows authenticated users with Author-level privileges or higher to inject arbitrary HTML elements by supplying malicious wrapper attribute values in layout tags. The ditty_layout_render_tag_wrapper() function inserts caller-supplied wrapper attribute values directly as HTML element names without allowlist validation, bypassing wp_kses_post() sanitization because KSES runs at save time before layout tag attributes are resolved at render time, causing the payload to execute in the browser of any visitor viewing posts or pages embedding the affected Ditty item.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Metaphor Creations Ditty | before 3.1.70 | CVE List |
All scores
| VulnCheck | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://lazytitan.ro/ditty | exploit, technical-description | |
| https://wordpress.org/plugins/ditty-news-ticker/#developers | patch, release-notes | |
| https://www.vulncheck.com/advisories/ditty-stored-xss-via-layout-tag-wrapper-attribute | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-93339 changed 2026-10-01 | CVE Terms of Use |
| NVD | CVE-2026-93339 changed 2026-09-25 | Public domain |