CVE-2025-31422 WordPress Visual Art | Gallery WordPress Theme <= 2.4 - PHP Object Injection Vulnerability
An attacker can exploit PHP object injection in the Visual Art WordPress theme to potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-31422?
CVE-2025-31422 is a high-severity unsafe deserialization vulnerability in designthemes Visual Art | Gallery WordPress Theme, published on 16 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-502
Which versions are affected by CVE-2025-31422?
How do I fix CVE-2025-31422?
No fix has been published for CVE-2025-31422 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-31422 being exploited?
There is no known exploitation of CVE-2025-31422 in the wild and no public exploit code.
Sources
Also known as GHSA-8295-cm83-6hv4.