CVE-2024-6661: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in paritydiscounts ParityPress – Parity Pricing with Discount Rules
CVE-2024-6661 is a stored Cross-Site Scripting (XSS) vulnerability in the ParityPress – Parity Pricing with Discount Rules WordPress plugin affecting all versions up to 1. 0. 0. It arises from improper input sanitization and output escaping of the 'Discount Text' field, allowing authenticated users with administrator-level permissions or higher to inject malicious scripts. The vulnerability specifically impacts multi-site WordPress installations or those with unfiltered_html disabled. Exploitation does not require user interaction but does require high privileges, and the injected scripts execute whenever a user accesses the compromised page. The CVSS score is 5. 5 (medium severity), reflecting limited confidentiality and integrity impact but no availability impact. No known exploits are currently reported in the wild. Organizations using this plugin in multi-site environments should prioritize patching or mitigating this vulnerability to prevent potential session hijacking, privilege escalation, or other malicious activities via script injection.
AI Analysis
Technical Summary
CVE-2024-6661 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, found in the ParityPress – Parity Pricing with Discount Rules plugin for WordPress. This vulnerability affects all versions up to and including 1.0.0. The root cause is insufficient sanitization and escaping of user-supplied input in the 'Discount Text' field, which is used during web page generation. Authenticated attackers with administrator-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into the 'Discount Text' field. Because the vulnerability is stored, the malicious script persists in the database and executes whenever any user accesses the affected page, potentially compromising user sessions or performing unauthorized actions. The vulnerability specifically affects multi-site WordPress installations or those where the unfiltered_html capability is disabled, limiting the scope but still posing a significant risk in these environments. The CVSS v3.1 base score is 5.5, indicating a medium severity level. The attack vector is network-based with low attack complexity, requiring high privileges but no user interaction. The vulnerability impacts confidentiality and integrity but not availability. No patches or known exploits have been reported at the time of publication, but the risk remains for targeted attacks in vulnerable environments.
Potential Impact
The primary impact of CVE-2024-6661 is the potential for attackers with administrator privileges to inject malicious scripts that execute in the context of other users visiting the affected pages. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of other users, and potential privilege escalation if combined with other vulnerabilities. Since the vulnerability affects multi-site WordPress installations or those with unfiltered_html disabled, organizations running complex WordPress environments with multiple sites are at higher risk. The impact on confidentiality and integrity is moderate, as attackers can manipulate or steal data accessible to users viewing the injected content. Availability is not affected. Although exploitation requires high privileges, the risk is significant because administrators typically have broad control over the site. The lack of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially in targeted attacks against organizations using this plugin. The vulnerability could be leveraged in phishing campaigns or internal attacks where an attacker has gained administrative access.
Mitigation Recommendations
1. Immediate mitigation involves restricting administrator-level access to trusted personnel only and auditing existing admin accounts for suspicious activity. 2. Disable or limit the use of the 'Discount Text' field until a patch or update is available. 3. Implement strict input validation and output escaping on the 'Discount Text' field to prevent script injection. 4. For multi-site WordPress installations, review and adjust permissions and capabilities related to unfiltered_html to minimize risk. 5. Monitor web server and application logs for unusual script injection attempts or unexpected behavior on affected pages. 6. Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. 7. Regularly update WordPress core, plugins, and themes to the latest versions once a patch for this vulnerability is released. 8. Consider deploying Web Application Firewalls (WAF) with custom rules to detect and block XSS payloads targeting this plugin. 9. Educate administrators about the risks of XSS and safe input handling practices. 10. Backup affected sites regularly to enable quick restoration if exploitation occurs.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, France, Netherlands, India, Brazil, Japan, South Africa
CVE-2024-6661: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in paritydiscounts ParityPress – Parity Pricing with Discount Rules
Description
CVE-2024-6661 is a stored Cross-Site Scripting (XSS) vulnerability in the ParityPress – Parity Pricing with Discount Rules WordPress plugin affecting all versions up to 1. 0. 0. It arises from improper input sanitization and output escaping of the 'Discount Text' field, allowing authenticated users with administrator-level permissions or higher to inject malicious scripts. The vulnerability specifically impacts multi-site WordPress installations or those with unfiltered_html disabled. Exploitation does not require user interaction but does require high privileges, and the injected scripts execute whenever a user accesses the compromised page. The CVSS score is 5. 5 (medium severity), reflecting limited confidentiality and integrity impact but no availability impact. No known exploits are currently reported in the wild. Organizations using this plugin in multi-site environments should prioritize patching or mitigating this vulnerability to prevent potential session hijacking, privilege escalation, or other malicious activities via script injection.
AI-Powered Analysis
Technical Analysis
CVE-2024-6661 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, found in the ParityPress – Parity Pricing with Discount Rules plugin for WordPress. This vulnerability affects all versions up to and including 1.0.0. The root cause is insufficient sanitization and escaping of user-supplied input in the 'Discount Text' field, which is used during web page generation. Authenticated attackers with administrator-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into the 'Discount Text' field. Because the vulnerability is stored, the malicious script persists in the database and executes whenever any user accesses the affected page, potentially compromising user sessions or performing unauthorized actions. The vulnerability specifically affects multi-site WordPress installations or those where the unfiltered_html capability is disabled, limiting the scope but still posing a significant risk in these environments. The CVSS v3.1 base score is 5.5, indicating a medium severity level. The attack vector is network-based with low attack complexity, requiring high privileges but no user interaction. The vulnerability impacts confidentiality and integrity but not availability. No patches or known exploits have been reported at the time of publication, but the risk remains for targeted attacks in vulnerable environments.
Potential Impact
The primary impact of CVE-2024-6661 is the potential for attackers with administrator privileges to inject malicious scripts that execute in the context of other users visiting the affected pages. This can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of other users, and potential privilege escalation if combined with other vulnerabilities. Since the vulnerability affects multi-site WordPress installations or those with unfiltered_html disabled, organizations running complex WordPress environments with multiple sites are at higher risk. The impact on confidentiality and integrity is moderate, as attackers can manipulate or steal data accessible to users viewing the injected content. Availability is not affected. Although exploitation requires high privileges, the risk is significant because administrators typically have broad control over the site. The lack of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially in targeted attacks against organizations using this plugin. The vulnerability could be leveraged in phishing campaigns or internal attacks where an attacker has gained administrative access.
Mitigation Recommendations
1. Immediate mitigation involves restricting administrator-level access to trusted personnel only and auditing existing admin accounts for suspicious activity. 2. Disable or limit the use of the 'Discount Text' field until a patch or update is available. 3. Implement strict input validation and output escaping on the 'Discount Text' field to prevent script injection. 4. For multi-site WordPress installations, review and adjust permissions and capabilities related to unfiltered_html to minimize risk. 5. Monitor web server and application logs for unusual script injection attempts or unexpected behavior on affected pages. 6. Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. 7. Regularly update WordPress core, plugins, and themes to the latest versions once a patch for this vulnerability is released. 8. Consider deploying Web Application Firewalls (WAF) with custom rules to detect and block XSS payloads targeting this plugin. 9. Educate administrators about the risks of XSS and safe input handling practices. 10. Backup affected sites regularly to enable quick restoration if exploitation occurs.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-07-10T17:08:23.775Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c0ab7ef31ef0b55f430
Added to database: 2/25/2026, 9:39:22 PM
Last enriched: 2/26/2026, 3:20:23 AM
Last updated: 2/26/2026, 11:17:49 AM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-64999: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Checkmk GmbH Checkmk
HighCVE-2026-28138: Deserialization of Untrusted Data in Stylemix uListing
HighCVE-2026-28136: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in VeronaLabs WP SMS
HighCVE-2026-28132: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in villatheme WooCommerce Photo Reviews
HighCVE-2026-28131: Insertion of Sensitive Information Into Sent Data in WPVibes Elementor Addon Elements
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.