CVE-2024-9878: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery
CVE-2024-9878 is a stored cross-site scripting (XSS) vulnerability in the Photo Gallery by 10Web – Mobile-Friendly Image Gallery WordPress plugin affecting all versions up to 1. 8. 30. The flaw arises from insufficient input sanitization and output escaping in admin settings, allowing authenticated users with administrator-level permissions to inject malicious scripts. These scripts execute when any user accesses the compromised pages, but the vulnerability only impacts multisite WordPress installations or those with unfiltered_html disabled. The CVSS score is 4. 4 (medium severity), reflecting the need for high privileges and no user interaction for exploitation. No known exploits are currently reported in the wild. Organizations using multisite WordPress setups with this plugin should prioritize patching or mitigating this vulnerability to prevent potential privilege escalation or session hijacking attacks.
AI Analysis
Technical Summary
CVE-2024-9878 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress. This vulnerability affects all versions up to and including 1.8.30. It stems from improper neutralization of input during web page generation, specifically within the plugin's admin settings interface. Authenticated attackers with administrator-level permissions or higher can inject arbitrary JavaScript code into the plugin's settings. Because the injected scripts are stored persistently, they execute whenever any user views the affected pages, potentially compromising user sessions or enabling further attacks such as privilege escalation or data theft. The vulnerability is limited to multisite WordPress installations or those where the unfiltered_html capability is disabled, which restricts the scope but still affects a significant subset of users. Exploitation requires high privileges (administrator or above), no user interaction is needed once the script is injected, and the attack surface is network accessible. The CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N) indicates network attack vector, high attack complexity, required privileges, no user interaction, scope change, and low impact on confidentiality and integrity, with no availability impact. No public exploits have been reported yet, but the vulnerability is published and should be addressed promptly.
Potential Impact
The primary impact of CVE-2024-9878 is the potential for authenticated administrators to inject malicious scripts that execute in the context of other users viewing the affected pages. This can lead to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of other users. Although exploitation requires administrator-level access, the vulnerability can facilitate privilege escalation or lateral movement within the WordPress environment. For multisite installations, the risk is amplified as multiple sites and users may be affected by a single injection. The vulnerability does not directly affect availability but can undermine the integrity and confidentiality of the affected systems. Organizations relying on this plugin in multisite configurations or with restricted HTML filtering are at risk of targeted attacks, especially if attackers have already compromised administrator credentials or can socially engineer access. The lack of known exploits reduces immediate risk but does not eliminate the threat, as attackers may develop exploits once the vulnerability is public.
Mitigation Recommendations
To mitigate CVE-2024-9878, organizations should immediately update the Photo Gallery by 10Web plugin to a version that addresses this vulnerability once available. Until a patch is released, administrators should restrict access to the plugin’s settings page to only trusted users and monitor for suspicious activity. Enabling strict input validation and output escaping in custom plugin configurations can reduce risk. For multisite installations, consider isolating sites or limiting administrator privileges to reduce the attack surface. Additionally, enabling web application firewalls (WAFs) with rules targeting stored XSS patterns can help detect and block exploitation attempts. Regularly auditing user permissions and employing multi-factor authentication for administrator accounts will further reduce the risk of unauthorized access. Finally, monitoring logs for unusual script injections or unexpected changes in plugin settings can provide early warning of exploitation attempts.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2024-9878: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Description
CVE-2024-9878 is a stored cross-site scripting (XSS) vulnerability in the Photo Gallery by 10Web – Mobile-Friendly Image Gallery WordPress plugin affecting all versions up to 1. 8. 30. The flaw arises from insufficient input sanitization and output escaping in admin settings, allowing authenticated users with administrator-level permissions to inject malicious scripts. These scripts execute when any user accesses the compromised pages, but the vulnerability only impacts multisite WordPress installations or those with unfiltered_html disabled. The CVSS score is 4. 4 (medium severity), reflecting the need for high privileges and no user interaction for exploitation. No known exploits are currently reported in the wild. Organizations using multisite WordPress setups with this plugin should prioritize patching or mitigating this vulnerability to prevent potential privilege escalation or session hijacking attacks.
AI-Powered Analysis
Technical Analysis
CVE-2024-9878 is a stored cross-site scripting vulnerability classified under CWE-79, found in the Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress. This vulnerability affects all versions up to and including 1.8.30. It stems from improper neutralization of input during web page generation, specifically within the plugin's admin settings interface. Authenticated attackers with administrator-level permissions or higher can inject arbitrary JavaScript code into the plugin's settings. Because the injected scripts are stored persistently, they execute whenever any user views the affected pages, potentially compromising user sessions or enabling further attacks such as privilege escalation or data theft. The vulnerability is limited to multisite WordPress installations or those where the unfiltered_html capability is disabled, which restricts the scope but still affects a significant subset of users. Exploitation requires high privileges (administrator or above), no user interaction is needed once the script is injected, and the attack surface is network accessible. The CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N) indicates network attack vector, high attack complexity, required privileges, no user interaction, scope change, and low impact on confidentiality and integrity, with no availability impact. No public exploits have been reported yet, but the vulnerability is published and should be addressed promptly.
Potential Impact
The primary impact of CVE-2024-9878 is the potential for authenticated administrators to inject malicious scripts that execute in the context of other users viewing the affected pages. This can lead to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of other users. Although exploitation requires administrator-level access, the vulnerability can facilitate privilege escalation or lateral movement within the WordPress environment. For multisite installations, the risk is amplified as multiple sites and users may be affected by a single injection. The vulnerability does not directly affect availability but can undermine the integrity and confidentiality of the affected systems. Organizations relying on this plugin in multisite configurations or with restricted HTML filtering are at risk of targeted attacks, especially if attackers have already compromised administrator credentials or can socially engineer access. The lack of known exploits reduces immediate risk but does not eliminate the threat, as attackers may develop exploits once the vulnerability is public.
Mitigation Recommendations
To mitigate CVE-2024-9878, organizations should immediately update the Photo Gallery by 10Web plugin to a version that addresses this vulnerability once available. Until a patch is released, administrators should restrict access to the plugin’s settings page to only trusted users and monitor for suspicious activity. Enabling strict input validation and output escaping in custom plugin configurations can reduce risk. For multisite installations, consider isolating sites or limiting administrator privileges to reduce the attack surface. Additionally, enabling web application firewalls (WAFs) with rules targeting stored XSS patterns can help detect and block exploitation attempts. Regularly auditing user permissions and employing multi-factor authentication for administrator accounts will further reduce the risk of unauthorized access. Finally, monitoring logs for unusual script injections or unexpected changes in plugin settings can provide early warning of exploitation attempts.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-10-11T18:12:37.932Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b62b7ef31ef0b554de6
Added to database: 2/25/2026, 9:36:34 PM
Last enriched: 2/25/2026, 11:45:31 PM
Last updated: 2/26/2026, 10:47:08 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.