CVE-2026-93339

Ditty < 3.1.70 Stored XSS via Layout Tag Wrapper Attribute

Published Sep 21, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Metaphor Creations Ditty (ditty‑news‑ticker) before version 3.1.70 contains a stored cross‑site scripting vulnerability. Authenticated users with Author-level privileges or higher can 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. This allows the payload to execute in the browser of any visitor viewing a post or page embedding the affected Ditty item, potentially leading to session hijacking, defacement, or other script‑based attacks.

Affected Systems

The vulnerability affects installations of the Metaphor Creations Ditty plugin (ditty‑news‑ticker) on WordPress sites where the plugin version is older than 3.1.70. Any WordPress environment using the affected plugin and allowing Author-level or higher users to edit content is impacted.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an authenticated user with Author-level privileges or higher injecting malicious wrapper attributes into a layout tag; the exploit requires access to content editing in the WordPress administrative interface. Because the vulnerability is applied at render time, any visitor who views the content will run the injected script, giving attackers a broad audience for exploitation, but the prerequisite of privileged content editing makes casual exploitation less likely.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Ditty plugin to version 3.1.70 or later to remove the vulnerable attribute handling
  • Search for and delete or replace any Ditty items embedded in posts or pages until the plugin is updated
  • Limit the use of Author-level or higher roles to only trusted administrators to reduce the attack surface

Generated by OpenCVE AI on September 21, 2026 at 15:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:metaphorcreations:ditty:*:*:*:*:*:wordpress:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Metaphorcreations
Metaphorcreations ditty
Wordpress
Wordpress wordpress
Vendors & Products Metaphorcreations
Metaphorcreations ditty
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Ditty < 3.1.70 Stored XSS via Layout Tag Wrapper Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 1, 2026, 3:21 PM
Reserved
Sep 17, 2026, 6:41 PM
Status
Deferred
Published
Sep 21, 2026, 3:17 PM
Modified
Sep 25, 2026, 6:17 PM