CVE-2024-8732
MEDIUM
6.1
CVSS 3.1
Description
The Roles & Capabilities plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg without appropriate escaping on the URL in all versions up to, and including, 1.1.9. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Affected WordPress components
-
Roles & Capabilities Plugin · leira-rolesUp to and including 1.1.9View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- arielhr1987 Roles & Capabilities — Up to and including 1.1.9
- leira roles_\&_capabilities — Before 1.1.10
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/leira-roles/tags/1.1.9/admin/class-leira-roles-admin.php#L413
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/leira-roles/tags/1.1.9/admin/class-leira-roles-admin.php#L541
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3153649%40leira-roles&new=3153649%40leira-roles&sfp_email=&sfph_mail=
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/3956cd40-6b46-4013-9d71-a979de2c3687?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record