---
id: CVE-2026-93339
title: >-
  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 malicio…
summary: >-
  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 malicio…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: Metaphor Creations
product: Ditty
affected:
  - Ditty < 3.1.70
published: '2026-09-21'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T16:17:27.950'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93339'
references:
  - url: 'https://wordpress.org/plugins/ditty-news-ticker/#developers'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/ditty-stored-xss-via-layout-tag-wrapper-attribute
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-21T15:39:01.250695Z'
ingestedAt: '2026-09-21T14:38:56.370Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
