CVE-2023-4148
Published: 25 September 2023
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
- 🇪🇺 ENISA EUVD: EUVD-2023-54028
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
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.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.