# CVE-2025-49386: WordPress Preserve Code Formatting Plugin <= 4.0.1 - PHP Object Injection Vulnerability

- Severity: High 8.8 (CVSS:3.1, scored by Patchstack) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-11-06T15:53:50.934Z
- Modified: 2026-10-18T21:10:00.120Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Patchstack

## Description

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.

(As written by CVE List.)

## Affected

- preserve-code-formatting: up to 4.0.1

## References

- <https://patchstack.com/database/Wordpress/Plugin/preserve-code-formatting/vulnerability/wordpress-preserve-code-formatting-plugin-4-0-1-php-object-injection-vulnerability?_s_id=cve> (vdb-entry)

## Sources

- CVE List: [CVE-2025-49386](https://www.cve.org/CVERecord?id=CVE-2025-49386), CVE Terms of Use, modified 2026-04-28
- NVD: [CVE-2025-49386](https://nvd.nist.gov/vuln/detail/CVE-2025-49386), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-49386 · Whole record: https://cve.day/CVE-2025-49386.json · Rebuilt by cve.day 2026-11-25T22:59:07.270Z
