Read More & Accordion <= 3.5.8 - Authenticated (Subscriber+) Privilege Escalation via Data Import

High 7.5 CWE-269Fixed in 3.5.9
ID
WPSEC-2026-3509
Plugin
Read More & Accordion (expand-maker)
Affected
all versions before 3.5.9
Remediation
Update to 3.5.9 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-19
Attack surface
Read More & Accordion on WPSec AttackSurface
Fix released
Published

Description

The expand-maker plugin for WordPress is vulnerable to Privilege Escalation via the yrm_import_data AJAX action (importData function) in all versions up to, and including, 3.5.8. This is due to the import inserting imported JSON into any database table with any column names through $wpdb->insert(), and to the handler checking only a nonce and no capability. The nonce is given to every user whose role an administrator has granted access to the plugin in its User Roles setting. This makes it possible for authenticated attackers, with subscriber-level access and above whose role has been granted access to the plugin, to write arbitrary rows into any table, such as the users and usermeta tables, and so create an administrator account. Crafted table or column names can also inject SQL.

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