CVE-2025-49386CWE-502insecure-deserialization

CVE-2025-49386

High · published November 6, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
39.1
In the wild
Unconfirmed
What it is

⚡ An untrusted data deserialization flaw lurks in Preserve Code Formatting! Just one maliciously crafted object could allow an attacker to inject and execute arbitrary code. 🔥 Think of it like a restaurant where the chef accepts any recipe card without checking the ingredients. If the card says to add poison, the meal could be deadly! An attacker could exploit this vulnerability to gain control of the application, potentially manipulating data, stealing sensitive information, or even executing harmful commands on the server. This is absolutely devastating, as it opens the door to widespread damage without authentication!

Put simply

Think of it like a restaurant where the chef accepts any recipe card without checking the ingredients. If the card says to add poison, the meal could be deadly! This vulnerability in Preserve Code Formatting allows for object injection through deserialization of untrusted data, which means an attacker can send malicious objects that the application processes without validation.

What to do

An attacker could exploit this vulnerability to gain control of the application, potentially manipulating data, stealing sensitive information, or even executing harmful commands on the server. This is absolutely devastating, as it opens the door to widespread damage without authentication! To fix this, immediately patch your installation to version 4.0.2 or later, and ensure that any data being deserialized comes from a trusted source. Additionally, implement strict input validation to prevent untrusted data from being processed. 🛡️ You've got this! With these steps, you'll have your application secured in no time! 💪✨

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00462 · 39.1th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-11-06T21:15Z
References (1)
EPSS history
Timeline
  • 06 NOV 15:53Z
    WordPress Preserve Code Formatting Plugin <= 4.0.1 - PHP Object Injection Vulnerability
    cvelistv5