CVE-2026-4336: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rustaurius Ultimate FAQ Accordion Plugin
The Ultimate FAQ Accordion plugin for WordPress up to version 2. 4. 7 contains a stored cross-site scripting (XSS) vulnerability. This occurs because the plugin decodes HTML entities in FAQ content at render time without proper sanitization, allowing Author-level users to inject malicious scripts via the REST API. These scripts execute when users view the affected FAQ pages or use the related shortcode. The vulnerability has a CVSS score of 6. 4, indicating medium severity.
AI Analysis
Technical Summary
CVE-2026-4336 is a stored cross-site scripting vulnerability in the rustaurius Ultimate FAQ Accordion WordPress plugin (up to version 2.4.7). The issue arises from the plugin's use of html_entity_decode() on post_content during rendering, which converts entity-encoded payloads back into executable HTML. The decoded content is then output without proper escaping or sanitization (e.g., wp_kses_post()), specifically in the faq-answer.php template. Because the custom post type 'ufaq' is exposed via the REST API and allows Author-level users to create FAQs, an attacker with such privileges can submit entity-encoded malicious HTML that bypasses WordPress's kses filtering at save time but executes when rendered. This enables injection of arbitrary scripts that run in the context of users viewing the FAQ content.
Potential Impact
An attacker with Author-level access can inject persistent malicious scripts into FAQ content, which execute in the browsers of users who view the affected FAQ pages or use the [ultimate-faqs] shortcode. This can lead to session hijacking, defacement, or other script-based attacks against site visitors. The vulnerability does not affect unauthenticated users directly but leverages authenticated user privileges to persist malicious code. The CVSS 3.1 base score is 6.4 (medium), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Author-level user capabilities to trusted users only. Avoid using the Ultimate FAQ Accordion plugin or disable it if possible. Monitor plugin updates from rustaurius for a security patch addressing this vulnerability. Do not rely on WordPress's default sanitization as it is bypassed in this case due to entity decoding at render time.
CVE-2026-4336: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rustaurius Ultimate FAQ Accordion Plugin
Description
The Ultimate FAQ Accordion plugin for WordPress up to version 2. 4. 7 contains a stored cross-site scripting (XSS) vulnerability. This occurs because the plugin decodes HTML entities in FAQ content at render time without proper sanitization, allowing Author-level users to inject malicious scripts via the REST API. These scripts execute when users view the affected FAQ pages or use the related shortcode. The vulnerability has a CVSS score of 6. 4, indicating medium severity.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4336 is a stored cross-site scripting vulnerability in the rustaurius Ultimate FAQ Accordion WordPress plugin (up to version 2.4.7). The issue arises from the plugin's use of html_entity_decode() on post_content during rendering, which converts entity-encoded payloads back into executable HTML. The decoded content is then output without proper escaping or sanitization (e.g., wp_kses_post()), specifically in the faq-answer.php template. Because the custom post type 'ufaq' is exposed via the REST API and allows Author-level users to create FAQs, an attacker with such privileges can submit entity-encoded malicious HTML that bypasses WordPress's kses filtering at save time but executes when rendered. This enables injection of arbitrary scripts that run in the context of users viewing the FAQ content.
Potential Impact
An attacker with Author-level access can inject persistent malicious scripts into FAQ content, which execute in the browsers of users who view the affected FAQ pages or use the [ultimate-faqs] shortcode. This can lead to session hijacking, defacement, or other script-based attacks against site visitors. The vulnerability does not affect unauthenticated users directly but leverages authenticated user privileges to persist malicious code. The CVSS 3.1 base score is 6.4 (medium), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and impacts on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Author-level user capabilities to trusted users only. Avoid using the Ultimate FAQ Accordion plugin or disable it if possible. Monitor plugin updates from rustaurius for a security patch addressing this vulnerability. Do not rely on WordPress's default sanitization as it is bypassed in this case due to entity decoding at render time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-17T14:20:31.307Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d729211cc7ad14da1b3371
Added to database: 4/9/2026, 4:20:49 AM
Last enriched: 4/16/2026, 12:24:16 PM
Last updated: 5/24/2026, 9:37:11 PM
Views: 42
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.