Skip to main content

CVE-2024-7758: CWE-79 Cross-Site Scripting (XSS) in Unknown Stylish Price List

Medium
VulnerabilityCVE-2024-7758cvecve-2024-7758cwe-79
Published: Thu May 15 2025 (05/15/2025, 20:07:11 UTC)
Source: CVE
Vendor/Project: Unknown
Product: Stylish Price List

Description

The Stylish Price List WordPress plugin before 7.1.8 does not sanitise and escape some of its settings, which could allow high privilege users of contributor and above 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, 15:28:31 UTC

Technical Analysis

CVE-2024-7758 is a medium-severity Stored Cross-Site Scripting (XSS) vulnerability identified in the Stylish Price List WordPress plugin versions prior to 7.1.8. The vulnerability arises because the plugin fails to properly sanitize and escape certain settings inputs. This flaw allows users with contributor-level privileges or higher to inject malicious scripts that are stored persistently within the plugin's data. Notably, this exploitation is possible even when the WordPress unfiltered_html capability is disabled, such as in multisite environments, which typically restricts users from posting unfiltered HTML content. The vulnerability leverages CWE-79, indicating improper neutralization of input during web page generation. The CVSS 3.1 score of 4.8 reflects a medium severity, with an attack vector of network (remote), low attack complexity, requiring high privileges, and user interaction. The scope is changed, meaning the vulnerability can affect resources beyond the initially vulnerable component. The impact includes limited confidentiality and integrity loss but no availability impact. No known exploits are currently reported in the wild, and no official patches or fixes have been linked yet. This vulnerability is significant because contributor-level users, who normally have limited capabilities, can escalate their impact by injecting malicious scripts that execute in the context of other users, potentially administrators or site visitors, leading to session hijacking, privilege escalation, or defacement.

Potential Impact

For European organizations using WordPress sites with the Stylish Price List plugin, this vulnerability poses a risk of persistent XSS attacks that can compromise site integrity and user trust. Attackers with contributor or higher privileges can inject malicious scripts that execute in the browsers of administrators or other users, potentially leading to credential theft, unauthorized actions, or further compromise of the website. This is particularly concerning for organizations that operate multisite WordPress installations, common in educational institutions, government agencies, and enterprises, where unfiltered_html is disabled to restrict content injection. Exploitation could lead to data leakage, defacement, or unauthorized administrative actions, impacting confidentiality and integrity of sensitive information. Although the vulnerability does not directly affect availability, the reputational damage and potential regulatory consequences under GDPR for data breaches could be significant. The medium severity score suggests moderate risk, but the requirement for high privileges limits the attack surface to insiders or compromised accounts.

Mitigation Recommendations

European organizations should immediately verify if their WordPress installations use the Stylish Price List plugin and identify the version in use. Since no official patch links are provided, organizations should consider the following mitigations: 1) Restrict contributor and higher user roles to trusted personnel only, minimizing the risk of malicious insider activity. 2) Implement strict monitoring and auditing of user-generated content and plugin settings for suspicious scripts or anomalies. 3) Temporarily disable or remove the Stylish Price List plugin if feasible until an official patch is released. 4) Employ Web Application Firewalls (WAFs) with custom rules to detect and block typical XSS payloads targeting plugin-specific parameters. 5) Educate administrators and users about the risks of XSS and encourage prompt reporting of unusual site behavior. 6) Regularly update WordPress core and plugins to the latest versions once the vendor releases a fix. 7) Consider deploying Content Security Policy (CSP) headers to restrict script execution sources, mitigating the impact of injected scripts. These steps go beyond generic advice by focusing on role-based access control, active monitoring, and layered defenses specific to this plugin vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
WPScan
Date Reserved
2024-08-13T17:34:32.234Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682cd0f91484d88663aeb8d2

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

Last enriched: 7/4/2025, 3:28:31 PM

Last updated: 8/3/2025, 4:21:45 PM

Views: 12

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