Skip to main content

CVE-2023-5529: CWE-79 Cross-Site Scripting (XSS) in Unknown Advanced Page Visit Counter

Medium
VulnerabilityCVE-2023-5529cvecve-2023-5529cwe-79
Published: Thu May 15 2025 (05/15/2025, 20:08:58 UTC)
Source: CVE
Vendor/Project: Unknown
Product: Advanced Page Visit Counter

Description

The Advanced Page Visit Counter WordPress plugin before 8.0.6 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)

AI-Powered Analysis

AILast updated: 07/04/2025, 16:26:13 UTC

Technical Analysis

CVE-2023-5529 is a medium-severity vulnerability classified as a Stored Cross-Site Scripting (XSS) issue affecting the WordPress plugin 'Advanced Page Visit Counter' in versions prior to 8.0.6. The vulnerability arises because the plugin fails to properly sanitize and escape certain settings inputs. This flaw allows users with high privileges, such as administrators, to inject malicious scripts that are stored persistently within the plugin's data. Notably, this vulnerability can be exploited even when the WordPress capability 'unfiltered_html' is disabled, such as in multisite environments, which typically restrict the ability to post unfiltered HTML. The CVSS 3.1 base score is 4.8, reflecting a medium severity level, with the vector indicating network attack vector (AV:N), low attack complexity (AC:L), high privileges required (PR:H), user interaction required (UI:R), scope changed (S:C), and impacts limited confidentiality and integrity (C:L/I:L) but no impact on availability (A:N). The stored XSS could allow an attacker to execute arbitrary JavaScript in the context of the affected site, potentially leading to session hijacking, privilege escalation, or further compromise of site integrity. However, exploitation requires an authenticated user with high privileges to inject the payload, and some user interaction is needed to trigger the malicious script. No known exploits are currently reported in the wild, and no official patch links are provided yet, indicating that mitigation may rely on plugin updates or manual code review and sanitization by site administrators.

Potential Impact

For European organizations using WordPress sites with the Advanced Page Visit Counter plugin, this vulnerability poses a risk primarily to site integrity and confidentiality. An attacker with admin-level access could inject malicious scripts that affect other administrators or users who access the plugin's settings or pages where the stored payload executes. This could lead to session hijacking, unauthorized actions, or data leakage within the affected WordPress environment. While the vulnerability does not directly affect availability, the compromise of administrative accounts or site integrity could disrupt business operations or damage reputation. European organizations with multisite WordPress setups are particularly at risk since the vulnerability bypasses the 'unfiltered_html' capability restriction commonly used to limit HTML injection. Given the widespread use of WordPress in Europe across various sectors including government, education, and commerce, exploitation could have moderate impact especially if combined with other vulnerabilities or social engineering attacks. However, the requirement for high privilege and user interaction limits the attack surface to insiders or compromised admin accounts rather than external unauthenticated attackers.

Mitigation Recommendations

To mitigate this vulnerability, European organizations should: 1) Immediately update the Advanced Page Visit Counter plugin to version 8.0.6 or later once available, as this will likely include proper sanitization and escaping fixes. 2) Restrict administrative access strictly to trusted users and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to reduce the risk of credential compromise. 3) Conduct a thorough audit of plugin settings and stored data to identify and remove any suspicious or injected scripts. 4) Implement Content Security Policy (CSP) headers to limit the impact of potential XSS payloads by restricting script execution sources. 5) Monitor administrative activity logs for unusual behavior that could indicate exploitation attempts. 6) Consider disabling or replacing the plugin if timely patches are unavailable or if the plugin is not essential. 7) Educate administrators about the risks of stored XSS and safe handling of plugin settings. These steps go beyond generic advice by focusing on access control, proactive data review, and layered defenses specific to the nature of this stored XSS vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
WPScan
Date Reserved
2023-10-11T16:24:47.492Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682cd0f91484d88663aebaa3

Added to database: 5/20/2025, 6:59:05 PM

Last enriched: 7/4/2025, 4:26:13 PM

Last updated: 7/31/2025, 11:43:15 AM

Views: 10

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats