CVE-2022-46861 MEDIUM

CVE-2022-46861: WordPress Login Page Styler Plugin <= 6.2 is vulnerable to Cross Site Scripting (XSS)

Vendor Zia Imtiaz
Product Custom Login Page Styler for WordPress
Weakness CWE-79 · XSS
Published May 10, 2023
Last update April 28, 2026

CVSS base score

5.9/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:L

What the vulnerability does

01Description

Auth. (admin+) Stored Cross-Site Scripting (XSS) vulnerability in Zia Imtiaz Custom Login Page Styler for WordPress plugin <= 6.2 versions.

Explanation of Vulnerability in Simple Terms

02Summary

Custom Login Page Styler for WordPress versions up to 6.2 contains a stored cross-site scripting (XSS) vulnerability. An authenticated administrator with high privileges can inject malicious scripts through the plugin's settings. When other users view affected pages, the injected code executes in their browsers, potentially compromising their sessions or stealing sensitive data.

What an attacker can do

03Attacker Capabilities

Inject and store malicious JavaScript that executes when other users view the login page.

Potential impact on your site

04Site Impact

Compromised admin accounts can inject persistent malware affecting all site visitors and potentially stealing login credentials.

Conditions required to exploit

05Prerequisites

Attacker must have administrator-level access to WordPress and a user must visit the affected login page.

Key dates

06Disclosure timeline

May 10, 2023 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE