Cyber Resilience

CVE-2023-4148

MediumPublic PoC

Published: 25 September 2023

Published
25 September 2023
Modified
01 May 2025
KEV Added
Patch
CVSS Score v3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.1275 94.2th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-4148 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Metaphorcreations Ditty. Its CVSS base score is 6.1 (Medium).

Operationally, ranked in the top 5.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

The Ditty WordPress plugin before version 3.1.25 is affected by a reflected cross-site scripting vulnerability (CWE-79) tracked as CVE-2023-4148. The root cause is insufficient sanitization and escaping of certain parameters and generated URLs before they are reflected into HTML attributes, allowing malicious input to execute in the context of the victim's browser. The issue carries a CVSS 3.1 score of 6.1 with a network attack vector, low complexity, no required privileges, and required user interaction.

An unauthenticated attacker can exploit the flaw by crafting a malicious link and tricking a high-privilege user such as an administrator into clicking it. Successful exploitation results in script execution that can read sensitive data or perform actions within the WordPress administrative interface under the victim's session.

The referenced WPScan advisory identifies the affected plugin versions and indicates that the issue is resolved by updating to Ditty 3.1.25 or later. The EPSS score has remained flat at 0.1275 with no material increase observed after disclosure.

EU & UK References

Vulnerability details

The Ditty WordPress plugin before 3.1.25 does not sanitise and escape some parameters and generated URLs before outputting them back in attributes, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

metaphorcreations
ditty
≤ 3.1.25

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References