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-13658: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpo-hr NGG Smart Image Search

0
Medium
VulnerabilityCVE-2024-13658cvecve-2024-13658cwe-79
Published: Wed Feb 12 2025 (02/12/2025, 04:22:16 UTC)
Source: CVE Database V5
Vendor/Project: wpo-hr
Product: NGG Smart Image Search

Description

CVE-2024-13658 is a stored cross-site scripting (XSS) vulnerability in the NGG Smart Image Search WordPress plugin (versions up to 3. 2. 1). It arises from improper sanitization and escaping of user-supplied attributes in the 'hr_SIS_nextgen_searchbox' shortcode. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when other users view the affected pages. This vulnerability can lead to theft of sensitive information, session hijacking, or unauthorized actions performed on behalf of users. Exploitation does not require user interaction but does require authenticated access with limited privileges. The CVSS score is 6. 4 (medium severity), reflecting the moderate impact and ease of exploitation. No known public exploits have been reported yet.

AI-Powered Analysis

AILast updated: 02/25/2026, 23:13:27 UTC

Technical Analysis

The NGG Smart Image Search plugin for WordPress, widely used for enhanced image search functionality, suffers from a stored cross-site scripting (XSS) vulnerability identified as CVE-2024-13658. This vulnerability is due to improper neutralization of input during web page generation (CWE-79), specifically within the 'hr_SIS_nextgen_searchbox' shortcode. The plugin fails to adequately sanitize and escape user-supplied attributes, allowing authenticated users with contributor-level or higher permissions to inject arbitrary JavaScript code. Because the malicious script is stored and rendered on pages accessed by other users, it can execute in the context of their browsers without requiring further interaction. The vulnerability impacts all versions up to and including 3.2.1. The CVSS 3.1 base score of 6.4 reflects a network attack vector with low attack complexity, requiring privileges but no user interaction, and resulting in limited confidentiality and integrity impacts but no availability impact. The scope is changed, indicating that the vulnerability affects resources beyond the vulnerable component. Although no known exploits are currently in the wild, the vulnerability poses a significant risk due to the potential for session hijacking, credential theft, or unauthorized actions within the WordPress environment. The vulnerability was publicly disclosed in February 2025, and no official patches have been linked yet, emphasizing the need for immediate mitigation.

Potential Impact

This vulnerability allows authenticated users with contributor-level access or higher to inject persistent malicious scripts into WordPress pages via the NGG Smart Image Search plugin. The impact includes potential theft of cookies, session tokens, or other sensitive information from users who view the infected pages. Attackers could perform actions on behalf of other users, including administrators, leading to privilege escalation or site compromise. Since WordPress powers a significant portion of the web, sites using this plugin are at risk of defacement, data leakage, or further malware distribution. The attack requires authentication but no user interaction, making it easier for insiders or compromised accounts to exploit. The confidentiality and integrity of user data and site content are at risk, though availability is not directly affected. Organizations with multi-user WordPress environments, especially those allowing contributor-level access broadly, face increased risk. The vulnerability could also be leveraged in targeted attacks against high-value websites or used as a foothold for further exploitation within the hosting environment.

Mitigation Recommendations

1. Immediately restrict contributor-level and higher permissions to trusted users only, minimizing the risk of malicious input. 2. Monitor and audit user-generated content, especially content created via the 'hr_SIS_nextgen_searchbox' shortcode, for suspicious scripts or anomalies. 3. Apply strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on affected sites. 4. If possible, disable or remove the NGG Smart Image Search plugin until an official patch is released. 5. Implement web application firewall (WAF) rules to detect and block attempts to inject or execute malicious scripts via this plugin. 6. Educate site administrators and contributors about the risks of XSS and safe content creation practices. 7. Regularly update WordPress and all plugins, and monitor vendor announcements for patches addressing this vulnerability. 8. Consider employing security plugins that sanitize user inputs and outputs to add an additional layer of defense. 9. Review and harden user roles and permissions to limit the number of users who can exploit this vulnerability. 10. Conduct regular security assessments and penetration tests focusing on plugin vulnerabilities and user input handling.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-01-23T16:50:33.684Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e65b7ef31ef0b59fefa

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

Last enriched: 2/25/2026, 11:13:27 PM

Last updated: 2/26/2026, 9:04:28 AM

Views: 3

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