CVE-2025-23471
Published: 16 January 2025
Summary
CVE-2025-23471 is a high-severity CSRF (CWE-352) vulnerability. Its CVSS base score is 7.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 17.6th percentile by exploit likelihood (below the median); 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-10 (Information Input Validation).
Deeper analysis
CVE-2025-23471 is a Cross-Site Request Forgery (CSRF) vulnerability, classified under CWE-352, in the WordPress plugin ECT Add to Cart Button (ect-add-to-cart-button) that enables Stored Cross-Site Scripting (XSS). The issue affects all versions of the plugin from its initial release through 1.4 inclusive. Published on 2025-01-16, it carries a CVSS v3.1 base score of 7.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L).
Unauthenticated attackers (PR:N) can exploit this vulnerability remotely over the network (AV:N) with low attack complexity (AC:L), though it requires user interaction (UI:R) such as clicking a malicious link. Exploitation involves tricking a victim into submitting a CSRF request that stores an XSS payload, achieving low impacts on confidentiality, integrity, and availability (C:L/I:L/A:L) but with a changed scope (S:C) due to the persistent nature of the stored script.
Mitigation details are available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Plugin/ect-add-to-cart-button/vulnerability/wordpress-ect-add-to-cart-button-plugin-1-4-csrf-to-stored-xss-vulnerability?_s_id=cve.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-3199
Vulnerability details
Cross-Site Request Forgery (CSRF) vulnerability in etemplates ECT Add to Cart Button ect-add-to-cart-button allows Stored XSS.This issue affects ECT Add to Cart Button: from n/a through <= 1.4.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The CVE describes a vulnerability in a public-facing WordPress plugin that is directly exploitable as T1190 (Exploit Public-Facing Application). The CSRF-to-stored-XSS chain enables arbitrary JavaScript execution in the victim's browser context, mapping to T1059.007 (JavaScript).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly mitigates the CSRF vulnerability by enforcing session authenticity mechanisms such as anti-CSRF tokens to prevent unauthorized state-changing requests that store XSS payloads.
Prevents the storage of malicious XSS payloads by validating and sanitizing all user inputs submitted via the vulnerable ECT Add to Cart Button endpoint.
Mitigates execution of any stored XSS payloads by filtering and encoding information outputs rendered from the plugin.