Cyber Posture

CVE-2025-31449

High

Published: 28 March 2025

Published
28 March 2025
Modified
23 April 2026
KEV Added
Patch
CVSS Score 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
EPSS Score 0.0014 33.3th percentile
Risk Priority 14 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-31449 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 33.3th 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).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

SC-23 requires mechanisms like anti-CSRF tokens to protect session authenticity, directly preventing the forged requests that exploit this CSRF vulnerability to store XSS payloads.

prevent

SI-10 mandates validation of information inputs, preventing the storage of malicious XSS payloads submitted via the CSRF attack by ensuring inputs are sanitized and checked against expected formats.

prevent

SI-15 enforces output filtering, preventing the execution of any stored XSS payloads from this vulnerability by encoding or filtering outputs before rendering.

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.
T1059.007 JavaScript Execution
Adversaries may abuse various implementations of JavaScript for execution.
Why these techniques?

CSRF to stored XSS in public-facing WordPress plugin directly enables exploitation of the web application (T1190) and client-side JavaScript execution via the injected XSS payload (T1059.007).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

NVD Description

Cross-Site Request Forgery (CSRF) vulnerability in EricH The Visitor Counter the-visitor-counter allows Stored XSS.This issue affects The Visitor Counter: from n/a through <= 1.4.3.

Deeper analysisAI

CVE-2025-31449 is a Cross-Site Request Forgery (CSRF) vulnerability in the WordPress plugin The Visitor Counter by EricH (the-visitor-counter) that allows Stored XSS. This issue affects all versions from n/a through 1.4.3. It has been assigned CWE-352 and 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).

An unauthenticated attacker (PR:N) can exploit this vulnerability over the network (AV:N) with low complexity (AC:L) by tricking a user into performing an unintended action, such as via a malicious webpage that requires user interaction (UI:R). Successful exploitation enables storage of an XSS payload, resulting in low impacts to confidentiality, integrity, and availability within a changed scope (S:C).

The Patchstack advisory at https://patchstack.com/database/Wordpress/Plugin/the-visitor-counter/vulnerability/wordpress-the-visitor-counter-plugin-1-4-3-cross-site-request-forgery-csrf-to-stored-xss-vulnerability?_s_id=cve provides further details on this vulnerability.

Details

CWE(s)

CVEs Like This One

CVE-2025-26543Shared CWE-352
CVE-2025-31616Shared CWE-352
CVE-2025-30586Shared CWE-352
CVE-2025-23871Shared CWE-352
CVE-2025-30558Shared CWE-352
CVE-2025-31585Shared CWE-352
CVE-2025-23456Shared CWE-352
CVE-2025-23446Shared CWE-352
CVE-2025-25128Shared CWE-352
CVE-2025-25138Shared CWE-352

References