Vulnerabilities / WP Directory Kit / WPSEC-2026-2731

WP Directory Kit <= 1.5.9 - Authenticated (Listing Admin+) Insecure Direct Object Reference to Arbitrary Attachment Deletion

Low 3.3 CWE-639Fixed in 1.6.1
ID
WPSEC-2026-2731
Plugin
WP Directory Kit (wpdirectorykit)
Affected
from 1.5.1 before 1.6.1
Remediation
Update to 1.6.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-639
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-08
Attack surface
WP Directory Kit on WPSec AttackSurface
Fix released
Published

Description

The WP Directory Kit plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 1.5.9. When a listing is deleted, the deletion routine (Listing_m::delete) passes every ID stored in the listing's 'listing_images' field to wp_delete_attachment() without checking that the ID is an attachment or that the user may delete it. This makes it possible for authenticated attackers, with Listing Admin-level access and above, to delete arbitrary media attachments from the site. Exploitation requires the option that removes listing images on listing deletion to be enabled.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0