CVE-2026-13492
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2026-07-09
- Sist endret
- 2026-07-10
- Tildelt av
- security@wordfence.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scoret av
- security@wordfence.com
- Sannsynlighet for utnyttelse
-
0.5 %
høyere enn 41 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ikke registrert hos kildene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| stiofansisland | UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP | ≥ 0, ≤ 1.2.65 | Berørt |
Svakhetstype
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
Referanser
- https://github.com/AyeCode/userswp/commit/ddb17ad30ff3384cda85c5f372db30b03bd45ac8
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.65/includes/class-forms.php#L…
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.65/includes/class-forms.php#L…
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.65/includes/class-forms.php#L…
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.65/includes/class-forms.php#L…
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.65/includes/class-validation.…
- https://plugins.trac.wordpress.org/changeset/3590340/userswp
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b6cf6390-480f-44e2-ae36-67e3398…
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.