{"id":"CVE-2021-4402","aliases":["CVE-2021-4402"],"related":[],"kind":"vulnerability","state":"published","title":"Multiple Roles <= 1.3.1- Cross-Site Request Forgery Bypass","summary":"The Multiple Roles plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.3.1. This is due to missing or incorrect nonce validation on the mu_add_roles_in_signup_meta() and mu_add_roles_in_signup_meta_recently() functions. This makes it possible for unauthenticated attackers to add additional roles to users via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Multiple Roles plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.3.1. This is due to missing or incorrect nonce validation on the mu_add_roles_in_signup_meta() and mu_add_roles_in_signup_meta_recently() functions. This makes it possible for unauthenticated attackers to add additional roles to users via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.","source":"cvelist"},{"lang":"es","text":"El plugin Multiple Roles para WordPress es vulnerable a ataques de tipo Cross-Site Request Forgery en versiones hasta la 1.3.1 inclusive. Esto es debido a la falta o incorrecta validación nonce en las funciones \"mu_add_roles_in_signup_meta()\" y \"mu_add_roles_in_signup_meta_recently()\". Esto hace posible que atacantes no autenticados añadan roles adicionales a los usuarios a través de una solicitud manipulada concedida y puedan engañar a un administrador del sitio para realizar una acción como hacer clic en un enlace.","source":"nvd"}],"published":"2023-07-01T05:33:28.246Z","modified":"2026-06-17T04:19:41.060Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.3.1","status":"affected"}],"vendor":"cneumann","product":"Multiple Roles","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.3.1"}],"vendor":"multiple_roles_project","product":"multiple_roles","cpe":"cpe:2.3:a:multiple_roles_project:multiple_roles:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/862fa0c3-c16f-493e-9bf6-92debc0e30f6?source=cve","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/25-wordpress-plugins-vulnerable-to-csrf-attacks/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/more-wordpress-plugins-and-themes-vulnerable-to-csrf-attacks/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-3/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-2/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-1/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-5/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.nintechnet.com/multiple-wordpress-plugins-fixed-csrf-vulnerabilities-part-4/","tags":["not-applicable","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2556328%40multiple-roles&new=2556328%40multiple-roles&sfp_email=&sfph_mail=","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Jerome Bruandet"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-28T15:23:28.951Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4402","url":"https://www.cve.org/CVERecord?id=CVE-2021-4402","licence":"CVE Terms of Use","modified":"2026-04-08T17:04:44.358Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4402","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4402","licence":"Public domain","modified":"2026-06-17T04:19:41.060Z"}],"updatedAt":"2026-11-25T22:24:37.197Z","epss":{"score":0.00408,"percentile":0.37116,"date":"2026-12-01T12:00:22.000Z"}}