CVE-2023-25064 MEDIUM

CVE-2023-25064: WordPress WP htpasswd Plugin <= 1.7 is vulnerable to Cross Site Scripting (XSS)

Vendor Matteo Candura
Product WP htpasswd
Weakness CWE-79 · XSS
Published March 20, 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 Matteo Candura WP htpasswd plugin <= 1.7 versions.

Explanation of Vulnerability in Simple Terms

02Summary

WP htpasswd versions 1.7 and earlier contain a 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 the attacker to have high-level admin privileges and the victim to visit a crafted page. Impact is limited to low-severity data exposure and site defacement.

What an attacker can do

03Attacker Capabilities

Inject JavaScript that runs in other users' browsers to steal session data or modify page content.

Potential impact on your site

04Site Impact

Admins with malicious intent can inject scripts affecting other users; limit exposure by restricting admin access.

Conditions required to exploit

05Prerequisites

Attacker must have administrator privileges; victim must visit a page containing the malicious payload.

Key dates

06Disclosure timeline

March 20, 2023 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE