Cyber Resilience

CVE-2025-31422

HighRCE

Published: 16 July 2025

Published
16 July 2025
Modified
23 April 2026
KEV Added
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0034 56.8th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-31422 is a high-severity Deserialization of Untrusted Data (CWE-502) vulnerability. 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 43.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 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).

Deeper analysis

CVE-2025-31422 is a Deserialization of Untrusted Data vulnerability (CWE-502) in the Visual Art | Gallery WordPress Theme (visual-arts) developed by designthemes. It enables Object Injection and affects all versions of the theme from n/a through 2.4. The vulnerability received a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating high severity due to its network accessibility, low complexity, and potential for significant impacts.

The vulnerability can be exploited by an attacker with low privileges (PR:L), such as an authenticated WordPress user, over the network with low attack complexity and no user interaction required. Successful exploitation allows high impacts on confidentiality, integrity, and availability, typically enabling arbitrary object injection in PHP contexts that could lead to remote code execution or other severe compromises depending on the deserialized objects.

The Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/visual-arts/vulnerability/wordpress-visual-art-gallery-wordpress-theme-2-4-php-object-injection-vulnerability?_s_id=cve provides detailed information on this PHP Object Injection vulnerability in the Visual Art | Gallery WordPress Theme up to version 2.4. Security practitioners should consult this reference for specific mitigation guidance, such as theme updates if available beyond the affected versions.

EU & UK References

Vulnerability details

Deserialization of Untrusted Data vulnerability in designthemes Visual Art | Gallery WordPress Theme visual-arts allows Object Injection.This issue affects Visual Art | Gallery WordPress Theme: from n/a through <= 2.4.

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?

PHP object injection via untrusted deserialization in public-facing WordPress theme directly enables exploitation of the web application for RCE.

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

CVEs Like This One

CVE-2024-13770Shared CWE-502
CVE-2026-27303Shared CWE-502
CVE-2025-53586Shared CWE-502
CVE-2025-64353Shared CWE-502
CVE-2025-31047Shared CWE-502
CVE-2026-27096Shared CWE-502
CVE-2023-49886Shared CWE-502
CVE-2026-23542Shared CWE-502
CVE-2025-66631Shared CWE-502
CVE-2026-40044Shared CWE-502

Affected Assets

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly remediates the deserialization of untrusted data flaw in the Visual Art Gallery WordPress theme by identifying, patching, or removing affected versions up to 2.4.

prevent

Prevents object injection by validating untrusted data inputs prior to deserialization in the vulnerable PHP context of the WordPress theme.

detect

Detects the presence of CVE-2025-31422 in deployed Visual Art Gallery WordPress themes through vulnerability scanning of the system and applications.

References