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-11758: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in milmor WP SPID Italia

0
Medium
VulnerabilityCVE-2024-11758cvecve-2024-11758cwe-79
Published: Sat Jan 11 2025 (01/11/2025, 07:21:50 UTC)
Source: CVE Database V5
Vendor/Project: milmor
Product: WP SPID Italia

Description

CVE-2024-11758 is a stored Cross-Site Scripting (XSS) vulnerability in the WP SPID Italia WordPress plugin, affecting all versions up to 2. 9. It allows authenticated users with contributor-level access or higher to inject malicious scripts via plugin shortcodes due to improper input sanitization and output escaping. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or further attacks. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authentication with limited privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation. Countries with significant WordPress usage and public sector reliance on SPID identity services are most at risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 08:58:25 UTC

Technical Analysis

The WP SPID Italia plugin for WordPress, used to integrate Italy's SPID digital identity system, contains a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2024-11758. This vulnerability arises from improper neutralization of user-supplied input in shortcode attributes, where the plugin fails to adequately sanitize and escape input before rendering it on web pages. Authenticated attackers with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages via the plugin's shortcode functionality. Because the malicious script is stored persistently, it executes every time a user accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability affects all versions up to and including 2.9 of the plugin. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required, no user interaction, and a scope change with limited confidentiality and integrity impact but no availability impact. No public exploit code or active exploitation has been reported yet. The vulnerability is classified under CWE-79, highlighting improper input validation and output encoding as the root cause. Given the plugin's role in handling identity-related functionality, exploitation could have serious consequences if leveraged in targeted attacks.

Potential Impact

This vulnerability poses a moderate risk to organizations using the WP SPID Italia plugin, particularly those relying on WordPress sites for identity verification or public services in Italy. Exploitation could lead to session hijacking, unauthorized actions performed with victim user privileges, defacement, or redirection to malicious sites. Since contributor-level access is required, attackers must first compromise or have legitimate access to user accounts with these permissions, which limits the attack surface but does not eliminate risk. The persistent nature of stored XSS means multiple users can be affected once the malicious payload is injected. Confidentiality and integrity of user data and sessions are at risk, potentially undermining trust in affected websites. Organizations could face reputational damage, regulatory scrutiny, and user impact if exploited. The lack of known exploits in the wild suggests the threat is currently low but could increase if exploit code is developed and shared.

Mitigation Recommendations

Organizations should immediately update the WP SPID Italia plugin to a patched version once available, or apply vendor-recommended fixes. In the absence of a patch, administrators should restrict contributor-level access to trusted users only and audit existing content for injected scripts. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script payloads in shortcode attributes can provide temporary protection. Additionally, site owners should enable Content Security Policy (CSP) headers to restrict script execution sources and reduce XSS impact. Regularly scanning WordPress sites with security plugins that detect XSS and other injection flaws is recommended. Developers maintaining the plugin should adopt secure coding practices including rigorous input validation, output encoding, and use of WordPress security APIs for shortcode handling. Monitoring logs for suspicious activity related to shortcode usage can help detect exploitation attempts early.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-11-26T14:55:52.314Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e1db7ef31ef0b59577f

Added to database: 2/25/2026, 9:48:13 PM

Last enriched: 2/26/2026, 8:58:25 AM

Last updated: 2/26/2026, 9:35:19 AM

Views: 2

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