CVE-2025-31570
Published: 31 March 2025
Summary
CVE-2025-31570 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 36.7th 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-31570 is a Cross-Site Request Forgery (CSRF) vulnerability, classified under CWE-352, in the Related Posts Widget with Thumbnails WordPress plugin (advanced-css3-related-posts-widget) that enables Stored Cross-Site Scripting (XSS). The issue affects all versions from n/a through 1.2 inclusive, as published on 2025-03-31.
Attackers with network access can exploit this vulnerability without privileges (PR:N) through low-complexity methods (AC:L) that require user interaction (UI:R), such as tricking an authenticated site administrator into visiting a malicious page. Successful CSRF exploitation allows storage of XSS payloads, achieving low impacts on confidentiality, integrity, and availability (C:L/I:L/A:L) but with a changed scope (S:C), resulting in a CVSS v3.1 base score of 7.1.
The Patchstack advisory at https://patchstack.com/database/Wordpress/Plugin/advanced-css3-related-posts-widget/vulnerability/wordpress-related-posts-widget-with-thumbnails-plugin-1-2-csrf-to-stored-xss-vulnerability?_s_id=cve provides additional details on the vulnerability.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-8749
Vulnerability details
Cross-Site Request Forgery (CSRF) vulnerability in wp-buy Related Posts Widget with Thumbnails advanced-css3-related-posts-widget allows Stored XSS.This issue affects Related Posts Widget with Thumbnails: from n/a through <= 1.2.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
CSRF to stored XSS in public-facing WordPress plugin directly enables T1190 (exploit public-facing application) and T1059.007 (JavaScript execution via XSS payload).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
SC-23 requires session authenticity mechanisms like anti-CSRF tokens to prevent forged requests from storing XSS payloads via CSRF exploitation.
SI-10 enforces input validation and sanitization to block malicious XSS payloads from being accepted and stored through the CSRF-vulnerable endpoint.
SI-15 applies output filtering and encoding to neutralize any stored XSS payloads before they are rendered and executed in users' browsers.