Home

Description

The UsersWP plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.2.65. This is due to insufficient validation of file-field values in the UsersWP_Validation::validate_fields() function (which falls through to sanitize_text_field() for fields of type 'file', leaving directory-traversal sequences intact) combined with the UsersWP_Forms::upload_file_remove() AJAX handler building the deletion target from the uploads basedir concatenated with the attacker-controlled metadata value without any realpath canonicalization or uploads-directory boundary check before calling unlink(). This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the affected site's server, including wp-config.

PUBLISHED Reserved 2026-06-27 | Published 2026-07-09 | Updated 2026-07-09 | Assigner Wordfence




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-06-27:Vendor Notified
2026-07-09:Disclosed

Credits

daroo finder

References

www.wordfence.com/...-480f-44e2-ae36-67e3398add33?source=cve

plugins.trac.wordpress.org/....2.65/includes/class-forms.php

plugins.trac.wordpress.org/....2.65/includes/class-forms.php

plugins.trac.wordpress.org/.../includes/class-validation.php

plugins.trac.wordpress.org/....2.65/includes/class-forms.php

plugins.trac.wordpress.org/....2.65/includes/class-forms.php

plugins.trac.wordpress.org/changeset/3590340/userswp

github.com/...ommit/ddb17ad30ff3384cda85c5f372db30b03bd45ac8

cve.org (CVE-2026-13492)

nvd.nist.gov (CVE-2026-13492)

Download JSON