CVE-2022-4541 HIGH

CVE-2022-4541: WordPress Visitors <= 1.0 - Unauthenticated Stored Cross-Site Scripting via HTTP Header

Vendor Nitinmaurya12
Product WordPress Visitors
Weakness CWE-79 · XSS
Published September 26, 2024
Last update April 8, 2026

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

The WordPress Visitors plugin for WordPress is vulnerable to Stored Cross-Site Scripting via a spoofed HTTP Header value in versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses the nm_vistior page.

Explanation of Vulnerability in Simple Terms

02Summary

The WordPress Visitors plugin through version 1.0 contains a cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts. The vulnerability affects the plugin's handling of user input without proper sanitization. An attacker can inject JavaScript that executes in visitors' browsers, potentially stealing session tokens or redirecting users to malicious sites. The scope is changed, meaning the impact extends beyond the plugin itself.

What an attacker can do

03Attacker Capabilities

Inject JavaScript code that runs in visitors' browsers to steal data or redirect them to malicious sites.

Potential impact on your site

04Site Impact

Visitors to your site may have their sessions hijacked, credentials stolen, or be redirected to phishing pages.

Conditions required to exploit

05Prerequisites

No authentication or user interaction required; attacker can exploit this remotely over the network.

Key dates

06Disclosure timeline

September 26, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE