Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-13751: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in labibahmed42 3D Photo Gallery

0
Medium
VulnerabilityCVE-2024-13751cvecve-2024-13751cwe-79
Published: Fri Feb 21 2025 (02/21/2025, 03:21:23 UTC)
Source: CVE Database V5
Vendor/Project: labibahmed42
Product: 3D Photo Gallery

Description

CVE-2024-13751 is a stored Cross-Site Scripting (XSS) vulnerability in the 3D Photo Gallery WordPress plugin by labibahmed42, affecting all versions up to 1. 3. The flaw arises from improper input sanitization and output escaping of the 'des[]' parameter, allowing authenticated users with Subscriber-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or other malicious actions. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction for exploitation. No known public exploits exist yet. Organizations using this plugin should prioritize patching or mitigating this issue to prevent abuse. The threat primarily affects WordPress sites globally, especially those with active user communities and lower privilege user roles. Mitigation includes restricting user input, applying strict output encoding, and monitoring for suspicious activity.

AI-Powered Analysis

AILast updated: 02/25/2026, 22:14:14 UTC

Technical Analysis

CVE-2024-13751 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, found in the 3D Photo Gallery plugin for WordPress developed by labibahmed42. This vulnerability affects all plugin versions up to and including 1.3. The root cause is insufficient sanitization and escaping of user-supplied input passed through the 'des[]' parameter, which is used during web page generation. Authenticated attackers with at least Subscriber-level privileges can exploit this flaw by injecting arbitrary JavaScript code into the plugin's pages. Because the injected scripts are stored persistently, they execute automatically whenever any user accesses the affected page, without requiring further interaction. The vulnerability impacts confidentiality and integrity by enabling script execution that could hijack user sessions, steal cookies, or perform unauthorized actions on behalf of users. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and a scope change. No patches or official fixes have been linked yet, and no known exploits are publicly reported. This vulnerability highlights the risks of improper input validation in WordPress plugins, especially those that allow user-generated content or input from lower-privileged users. Organizations running this plugin should assess exposure, restrict user privileges where possible, and monitor for suspicious activity until a patch is available.

Potential Impact

The vulnerability enables attackers with minimal privileges (Subscriber-level) to inject persistent malicious scripts into WordPress sites using the 3D Photo Gallery plugin. This can lead to session hijacking, theft of sensitive user data, unauthorized actions performed on behalf of users, and potential site defacement. Because the scripts execute automatically for any visitor of the infected page, the impact extends beyond the attacker to all site users, increasing the risk of widespread compromise. The integrity and confidentiality of user data are at risk, though availability is not directly affected. For organizations, this can result in reputational damage, loss of user trust, and potential regulatory consequences if user data is compromised. The medium CVSS score reflects the need for authentication but no user interaction, making exploitation feasible in environments with registered users. The lack of known exploits in the wild suggests limited current active attacks but also means organizations should act proactively to prevent future exploitation.

Mitigation Recommendations

1. Immediately restrict or review user roles and permissions to limit Subscriber-level users from submitting untrusted input until a patch is available. 2. Apply strict input validation and sanitization on the 'des[]' parameter to remove or encode potentially malicious scripts. 3. Implement robust output encoding/escaping on all user-supplied data rendered on pages to prevent script execution. 4. Monitor web server logs and application logs for unusual input patterns or script injection attempts related to the 'des[]' parameter. 5. Use Web Application Firewalls (WAFs) with rules targeting stored XSS patterns to block malicious payloads targeting this plugin. 6. Keep WordPress core and all plugins updated; watch for official patches or updates from labibahmed42 and apply them promptly. 7. Educate site administrators and users about the risks of XSS and encourage reporting of suspicious site behavior. 8. Consider temporarily disabling or replacing the 3D Photo Gallery plugin if no patch is available and the risk is unacceptable. 9. Conduct regular security audits and penetration testing focused on user input handling in WordPress plugins.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-01-27T22:05:41.407Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e6db7ef31ef0b5a069c

Added to database: 2/25/2026, 9:49:33 PM

Last enriched: 2/25/2026, 10:14:14 PM

Last updated: 2/26/2026, 8:27:29 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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

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.

Latest Threats