Motors <= 1.4.125 - Authenticated (Subscriber+) Arbitrary File Deletion via 'stm_user_avatar_path' User Meta
- State
- Published
- Severity
- 8.1 High
- Published
- Nov 7, 2026
- Updated
- Nov 7, 2026
- Reserved
- Oct 2, 2026
Description
The Motors – Car Dealership & Classified Listings Plugin plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the stm_listings_ajax_save_user_data function in all versions up to, and including, 1.4.125 This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Although deletion is bounded to wp-content/uploads (preventing removal of wp-config.php), any authenticated Subscriber can trivially exploit this because the required AJAX nonce is printed on every front-end page and the handler's stm_user_avatar_path meta is writable by any logged-in user against their own account.
| Product | Versions |
|---|---|
| Motors – Car Dealership & Classified Listings Plugin stylemix | 1.4.125 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 8.1 High | Wordfence |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/636c0ef8-262e-41f8-acab-fb7621a3e902?source=cve
- https://plugins.trac.wordpress.org/browser/motors-car-dealership-classified-listings/tags/1.4.124/includes/actions.php#L479
- https://plugins.trac.wordpress.org/browser/motors-car-dealership-classified-listings/tags/1.4.124/includes/actions.php#L467
- https://plugins.trac.wordpress.org/browser/motors-car-dealership-classified-listings/tags/1.4.124/includes/actions.php#L644
- https://plugins.trac.wordpress.org/browser/motors-car-dealership-classified-listings/tags/1.4.124/includes/user-extra.php#L405
- https://plugins.trac.wordpress.org/browser/motors-car-dealership-classified-listings/tags/1.4.124/includes/helpers.php#L1401
- https://plugins.svn.wordpress.org/motors-car-dealership-classified-listings/
- https://plugins.trac.wordpress.org/changeset/3754485/motors-car-dealership-classified-listings/trunk/includes/actions.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.