Cyber Resilience

CVE-2024-12322

High

Published: 07 January 2025

Published
07 January 2025
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0032 55.8th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-12322 is a high-severity CSRF (CWE-352) vulnerability in Wordpress (inferred from references). Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 44.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SC-23 (Session Authenticity) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2024-12322 is a Cross-Site Request Forgery (CSRF) vulnerability, classified under CWE-352, affecting the ThePerfectWedding.nl Widget plugin for WordPress in all versions up to and including 2.8. The issue stems from missing or incorrect nonce validation in the 'update_option' function, which allows attackers to update the 'tpwKey' option with stored cross-site scripting (XSS) payloads through a forged request. The vulnerability carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) and was published on 2025-01-07.

Unauthenticated attackers can exploit this vulnerability over the network with low complexity by tricking a site administrator into performing an action, such as clicking a malicious link. Successful exploitation enables the forged request to update the 'tpwKey' option, injecting stored XSS that can lead to high-impact confidentiality, integrity, and availability compromises, such as executing arbitrary scripts in the admin context.

References to the plugin's source code in tpwAdminPanelTemplate.php (lines 4, 5, 28, and 48) highlight the lack of nonce checks, while changeset 3215206 in the WordPress plugin trac repository indicates a patch addressing the issue, recommending administrators update to a fixed version beyond 2.8.

EU & UK References

Vulnerability details

The ThePerfectWedding.nl Widget plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.8. This is due to missing or incorrect nonce validation on the 'update_option' function. This makes it possible for unauthenticated attackers…

more

to update the 'tpwKey' option with stored cross-site scripting via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Direct CSRF flaw in public-facing WordPress plugin enables remote exploitation via forged admin requests, matching T1190.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2024-37102Shared CWE-352
CVE-2024-37450Shared CWE-352
CVE-2025-23558Shared CWE-352
CVE-2025-68722Shared CWE-352
CVE-2025-31440Shared CWE-352
CVE-2025-23848Shared CWE-352
CVE-2025-22571Shared CWE-352
CVE-2024-53684Shared CWE-352
CVE-2025-23455Shared CWE-352
CVE-2025-22582Shared CWE-352

Affected Assets

Wordpress
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

SC-23 requires mechanisms to protect session authenticity, directly mitigating CSRF attacks like the missing nonce validation in the update_option function.

prevent

SI-2 ensures timely identification, reporting, and remediation of flaws, such as patching the WordPress plugin beyond version 2.8 to fix the CSRF vulnerability.

prevent

SI-10 enforces input validation and sanitization, helping to block malicious XSS payloads from being stored in the tpwKey option even if CSRF succeeds.

References