CVE-2022-37403 MEDIUM

CVE-2022-37403: WordPress Add User Role plugin <= 0.0.1 - Authenticated Stored Cross-Site Scripting (XSS) vulnerability

Vendor Nikhil Vaghela
Product Add User Role (WordPress plugin)
Weakness CWE-79 · XSS
Published September 9, 2022
Last update April 28, 2026

CVSS base score

4.8/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

Authenticated (admin+) Stored Cross-Site Scripting (XSS) vulnerability in Nikhil Vaghela's Add User Role plugin <= 0.0.1 at WordPress.

Explanation of Vulnerability in Simple Terms

02Summary

The Add User Role WordPress plugin version 0.0.1 contains a stored cross-site scripting (XSS) vulnerability. An authenticated administrator can inject malicious scripts that execute in other users' browsers when they view affected pages. The vulnerability requires administrator privileges and user interaction to exploit, but can affect site visitors across the application.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers when they visit the site.

Potential impact on your site

04Site Impact

An admin account compromise could inject scripts affecting all site visitors, potentially stealing credentials or redirecting users.

Conditions required to exploit

05Prerequisites

Administrator account access and the victim must view a page containing the injected script.

Key dates

06Disclosure timeline

September 9, 2022 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE