CVE-2025-22311 WordPress Private Messages for UserPro plugin <= 4.10.0 - Local File Inclusion vulnerability

High 7.5 Published Updated

An attacker can exploit a local file inclusion vulnerability in the Private Messages for UserPro plugin to read sensitive files or execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-22311?

CVE-2025-22311 is a high-severity path traversal vulnerability in DeluxeThemes Private Messages for UserPro, published on 21 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in DeluxeThemes Private Messages for UserPro userpro-messaging.This issue affects Private Messages for UserPro: from n/a through <= 4.10.0.

Weakness: CWE-98

Which versions are affected by CVE-2025-22311?

How do I fix CVE-2025-22311?

No fix has been published for CVE-2025-22311 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-22311 being exploited?

There is no known exploitation of CVE-2025-22311 in the wild and no public exploit code.

Sources

Also known as GHSA-mh65-27wg-9p5h.

Is CVE-2025-22311 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free