CVE-2025-31422
Published: 16 July 2025
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
- 🇪🇺 ENISA EUVD: EUVD-2025-21615
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
Why these techniques?
PHP object injection via untrusted deserialization in public-facing WordPress theme directly enables exploitation of the web application for RCE.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
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.
Prevents object injection by validating untrusted data inputs prior to deserialization in the vulnerable PHP context of the WordPress theme.
Detects the presence of CVE-2025-31422 in deployed Visual Art Gallery WordPress themes through vulnerability scanning of the system and applications.