plugin

Preserve Code Formatting Vulnerabilities

2 known security issues reported for the Preserve Code Formatting WordPress plugin. Most recent disclosed Nov 6, 2025.

1 high

Running Preserve Code Formatting on your site? Check whether your installed version is affected.

Scan your site free

Preserve Code Formatting [preserve-code-formatting] <= 4.0.1 (unfixed)

unknown

[en] Deserialization of Untrusted Data vulnerability in Scott Reilly Preserve Code Formatting preserve-code-formatting allows Object Injection.This issue affects Preserve Code Formatting: from n/a through <= 4.0.1.

Affected:
up to 4.0.1
Fix:
No patched version reported
Disclosed:
Nov 6, 2025

CVE-2025-49386 on NVD →

Preserve Code Formatting <= 4.0.1 - Authenticated (Contributor+) PHP Object Injection

high

The Preserve Code Formatting plugin for WordPress is vulnerable to PHP Object Injection in versions up to, and including, 4.0.1 via deserialization of untrusted input. This makes it possible for authenticated attackers, with contributor-level access and above, to inject a PHP Object. No known POP chain is present in th...

CVSS:
7.5
Affected:
up to 4.0.1
Fixed in:
5.0
Disclosed:
Aug 1, 2025

CVE-2025-49386 on NVD →

Protect your WordPress site

Run a free security scan to detect vulnerable plugins and themes, exposed files, and malware — no plugin install, no signup.

Scan your site free

← Back to the vulnerability database