Classified Listing – AI-Powered Classified ads & Business Directory <= 6.1.5 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Listing Description

Medium 6.3 CWE-94Fixed in 6.2.0
ID
WPSEC-2026-1243
Plugin
Classified Listing – AI-Powered Classified ads & Business Directory (classified-listing)
Affected
all versions before 6.2.0
Remediation
Update to 6.2.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-94
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-19
Attack surface
Classified Listing – AI-Powered Classified ads & Business Directory on WPSec AttackSurface
Fix released
Published

Description

The Classified Listing – AI-Powered Classified ads & Business Directory plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the listing description submitted through the rtcl_post_new_listing AJAX action in all versions up to, and including, 6.1.5. This is due to an inverted capability check in the Functions::sanitize() routine, which removed shortcodes only for editors and kept them for every other non-administrator user, before the description is saved as the listing content and later rendered through the 'the_content' filter. This makes it possible for authenticated attackers with subscriber-level access and above, and unauthenticated attackers when guest listing submission is enabled, to run arbitrary shortcodes.

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