CVE-2026-120518 json
BuddyPress XProfile Image Field <= 3.1.0 - Unauthenticated Arbitrary File Deletion via Signup Image Field Activation Handler
published 6d ago modified 2d ago also EUVD-2026-115659
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
The BuddyPress XProfile Image Field plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 3.1.0. This is due to bpxp_image_field_update_on_user_activation() calling unlink() on a path built from visitor-supplied signup metadata with no realpath() resolution, no containment check against the profile-image directory and no extension allow-list. Submitting a zero-byte file with the 'field_N_hidden' parameter during registration makes the plugin store the raw value, which is then resolved against the document root when the pending signup is activated. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file (such as wp-config.php) is deleted. Requires open registration and an image-type profile field on the signup form.
Is CVE-2026-120518 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3d ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected products
- kalengi BuddyPress XProfile Custom Image Field
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/1a53bcf5-61ed-427c-9efd-29c9309d2426?source=cve
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L526
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L488
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L494
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L507
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L587
- nvd.nist.gov /vuln/detail/CVE-2025-48158
Sources
- CVE List CVE-2026-120518
- NVD CVE-2026-120518
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.