Vulnerability · Published Sep 13, 2024 · Assigned by Wordfence
CVE-2024-8732Roles & Capabilities <= 1.1.9 - Reflected Cross-Site Scripting
Medium 6.1
In plain English
A medium-severity cross-site scripting in Roles & Capabilities from arielhr1987. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| arielhr1987 | Roles & Capabilities | 0 – through 1.1.9 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3956cd40-6b46-4013-9d71-a979de2c3687?source=cve
- https://plugins.trac.wordpress.org/browser/leira-roles/tags/1.1.9/admin/class-leira-roles-admin.php#L541
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3153649%40leira-roles&new=3153649%40leira-roles&sfp_email=&sfph_mail=
- https://plugins.trac.wordpress.org/browser/leira-roles/tags/1.1.9/admin/class-leira-roles-admin.php#L413