CVE-2026-93339
published medium CVSS 4.0 · 5.1Ditty < 3.1.70 Stored XSS via Layout Tag Wrapper Attribute
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Metaphor Creations | — | Ditty0 to < 3.1.70 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Metaphor Creations | Ditty | 0 to < 3.1.70 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- Researcher Disclosure https://lazytitan.ro/ditty
- WordPress Changelog https://wordpress.org/plugins/ditty-news-ticker/#developers
- https://www.vulncheck.com/advisories/ditty-stored-xss-via-layout-tag-wrapper-attribute
Provider assertions
2VulnCheck · cna
Ditty < 3.1.70 Stored XSS via Layout Tag Wrapper Attribute
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 121c752281d7cda69c45e406e71702249e9f605d85d7957bb22a200b261974c7
- Ingested
- 01 Oct 2026, 18:42:37 UTC
- Source record
- Official CVE record