CVE-2024-4706: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpo365 WordPress + Microsoft Office 365 / Azure AD | LOGIN
CVE-2024-4706 is a stored cross-site scripting (XSS) vulnerability in the WordPress + Microsoft Office 365 / Azure AD | LOGIN plugin (wpo365) affecting all versions up to 27. 2. The flaw arises from insufficient input sanitization and output escaping on user-supplied attributes in the 'pintra' shortcode, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious actions. The vulnerability requires authentication but no user interaction beyond page access. It has a CVSS 3. 1 score of 6. 4, indicating medium severity. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this issue to prevent exploitation.
AI Analysis
Technical Summary
CVE-2024-4706 is a stored cross-site scripting vulnerability identified in the WordPress + Microsoft Office 365 / Azure AD | LOGIN plugin (wpo365), which integrates Microsoft authentication into WordPress sites. The vulnerability exists in the handling of the 'pintra' shortcode, where user-supplied attributes are not properly sanitized or escaped before being output in web pages. This improper neutralization of input (CWE-79) allows authenticated attackers with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes automatically whenever any user visits the infected page, potentially compromising user sessions, stealing credentials, or performing actions on behalf of users. The vulnerability affects all plugin versions up to and including 27.2. Exploitation requires authentication but no additional user interaction, and the scope is limited to sites using this specific plugin. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, privileges required, no user interaction, and impact on confidentiality and integrity but not availability. No public exploits or patches are currently available, so mitigation relies on restricting contributor access, monitoring for suspicious activity, and applying updates once released.
Potential Impact
This vulnerability can have significant impacts on organizations using the affected plugin, especially those relying on WordPress sites integrated with Microsoft Office 365 or Azure AD for authentication. An attacker with contributor-level access can inject malicious scripts that execute in the context of other users, potentially leading to session hijacking, unauthorized data access, credential theft, or privilege escalation. This compromises the confidentiality and integrity of user data and site content. Although availability is not directly impacted, the breach of trust and potential data leakage can cause reputational damage and regulatory compliance issues. Since contributor-level access is required, the risk is somewhat mitigated by internal access controls, but insider threats or compromised contributor accounts increase the risk. Organizations with large user bases or sensitive data exposed via WordPress sites are particularly vulnerable. The lack of known exploits in the wild reduces immediate risk but does not eliminate it, as attackers may develop exploits once details are public.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately review and restrict contributor-level access to trusted users only, minimizing the risk of malicious script injection. Implement strict content moderation policies and monitor pages using the 'pintra' shortcode for unauthorized changes or suspicious scripts. Employ Web Application Firewalls (WAFs) with custom rules to detect and block typical XSS payloads targeting this plugin. Disable or remove the 'pintra' shortcode if not essential to reduce the attack surface. Regularly audit plugin versions and update to the latest release once a patch addressing CVE-2024-4706 is available. Additionally, enable Content Security Policy (CSP) headers to restrict script execution sources, limiting the impact of injected scripts. Educate site administrators and contributors about the risks of XSS and safe content practices. Finally, maintain comprehensive logging and alerting to detect potential exploitation attempts early.
Affected Countries
United States, United Kingdom, Canada, Australia, Germany, France, Netherlands, India, Japan, Brazil, South Africa
CVE-2024-4706: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpo365 WordPress + Microsoft Office 365 / Azure AD | LOGIN
Description
CVE-2024-4706 is a stored cross-site scripting (XSS) vulnerability in the WordPress + Microsoft Office 365 / Azure AD | LOGIN plugin (wpo365) affecting all versions up to 27. 2. The flaw arises from insufficient input sanitization and output escaping on user-supplied attributes in the 'pintra' shortcode, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious actions. The vulnerability requires authentication but no user interaction beyond page access. It has a CVSS 3. 1 score of 6. 4, indicating medium severity. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this issue to prevent exploitation.
AI-Powered Analysis
Technical Analysis
CVE-2024-4706 is a stored cross-site scripting vulnerability identified in the WordPress + Microsoft Office 365 / Azure AD | LOGIN plugin (wpo365), which integrates Microsoft authentication into WordPress sites. The vulnerability exists in the handling of the 'pintra' shortcode, where user-supplied attributes are not properly sanitized or escaped before being output in web pages. This improper neutralization of input (CWE-79) allows authenticated attackers with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes automatically whenever any user visits the infected page, potentially compromising user sessions, stealing credentials, or performing actions on behalf of users. The vulnerability affects all plugin versions up to and including 27.2. Exploitation requires authentication but no additional user interaction, and the scope is limited to sites using this specific plugin. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, privileges required, no user interaction, and impact on confidentiality and integrity but not availability. No public exploits or patches are currently available, so mitigation relies on restricting contributor access, monitoring for suspicious activity, and applying updates once released.
Potential Impact
This vulnerability can have significant impacts on organizations using the affected plugin, especially those relying on WordPress sites integrated with Microsoft Office 365 or Azure AD for authentication. An attacker with contributor-level access can inject malicious scripts that execute in the context of other users, potentially leading to session hijacking, unauthorized data access, credential theft, or privilege escalation. This compromises the confidentiality and integrity of user data and site content. Although availability is not directly impacted, the breach of trust and potential data leakage can cause reputational damage and regulatory compliance issues. Since contributor-level access is required, the risk is somewhat mitigated by internal access controls, but insider threats or compromised contributor accounts increase the risk. Organizations with large user bases or sensitive data exposed via WordPress sites are particularly vulnerable. The lack of known exploits in the wild reduces immediate risk but does not eliminate it, as attackers may develop exploits once details are public.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately review and restrict contributor-level access to trusted users only, minimizing the risk of malicious script injection. Implement strict content moderation policies and monitor pages using the 'pintra' shortcode for unauthorized changes or suspicious scripts. Employ Web Application Firewalls (WAFs) with custom rules to detect and block typical XSS payloads targeting this plugin. Disable or remove the 'pintra' shortcode if not essential to reduce the attack surface. Regularly audit plugin versions and update to the latest release once a patch addressing CVE-2024-4706 is available. Additionally, enable Content Security Policy (CSP) headers to restrict script execution sources, limiting the impact of injected scripts. Educate site administrators and contributors about the risks of XSS and safe content practices. Finally, maintain comprehensive logging and alerting to detect potential exploitation attempts early.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-09T19:34:21.961Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b94b7ef31ef0b556e0a
Added to database: 2/25/2026, 9:37:24 PM
Last enriched: 2/26/2026, 12:54:14 AM
Last updated: 2/26/2026, 9:40:52 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-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
HighCVE-2026-28083: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in UX-themes Flatsome
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.