CVE-2018-25308 BuddyPress Xprofile Custom Fields Type 2.6.3 Arbitrary File Deletion

High 8.7 Published Updated

Authenticated attackers can delete arbitrary files on the server by manipulating profile editing parameters, potentially leading to code execution.

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-2018-25308?

CVE-2018-25308 is a high-severity path traversal vulnerability in donmik Buddypress Xprofile Custom Fields Type, published on 29 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

BuddyPress Xprofile Custom Fields Type 2.6.3 contains an arbitrary file deletion vulnerability that allows authenticated users to delete arbitrary files by manipulating unescaped POST parameters. Attackers can modify the field_hiddenfile and field_deleteimg parameters during profile editing to unlink files from the server.

Weakness: CWE-22

Which versions are affected by CVE-2018-25308?

How do I fix CVE-2018-25308?

No fix has been published for CVE-2018-25308 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-2018-25308 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25308 exists.

Sources

Also known as GHSA-jh9r-r8pc-j886.

Is CVE-2018-25308 in your software?

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

Check your SBOMs for free