Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 6.4 reflects moderate severity: network-accessible, low attack complexity, but requires PR:L (Author authentication). EPSS exploitation probability is not provided in input data. The vulnerability is not listed as CISA KEV (confirmed actively exploited), and no public proof-of-concept code is referenced. However, real-world risk assessment shows several aggravating factors: (1) the attack is authenticated but Author-level accounts are common in WordPress multisite and agency environments, (2) the bypass mechanism (entity encoding) is trivial to execute and evade detection, (3) the impact is stored XSS affecting all FAQ page visitors, (4) REST API enablement widens attack surface beyond the WordPress admin dashboard. Conversely, the cross-site constraint (S:C) limits impact to scope of individual WordPress sites. This is a genuine priority for WordPress administrators with untrusted Author accounts, but lower urgency for sites with tightly controlled author permissions. The vulnerability is not a high-CVSS-but-low-real-risk issue; it represents realistic privilege escalation from Author to persistent code execution. |
| Exploit ScenarioDerived | An attacker with WordPress Author account privileges (obtained through credential compromise or granted by administrator) creates a new FAQ via the WordPress REST API or admin interface containing an entity-encoded image tag payload such as <img src=x onerror=alert(document.cookie)>. WordPress kses sanitization at save time ignores the payload as it sees only text entities. When a site visitor or administrator views the FAQ page directly or via the [ultimate-faqs] shortcode, the plugin's set_display_variables() function decodes the entities back into <img src=x onerror=alert(document.cookie)>, the faq-answer.php template echoes the decoded content without escaping, and the img tag executes in the visitor's browser context, stealing session cookies or redirecting to a phishing page. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 09, 2026
Stored cross-site scripting in Ultimate FAQ Accordion plugin for WordPress (all versions up to 2.4.7) allows authenticated Author-level users to inject arbitrary web scripts into FAQ pages. The vulnerability exploits a double-encoding bypass: the plugin calls html_entity_decode() on FAQ content during rendering, converting entity-encoded payloads (e.g., <img src=x onerror=alert()>) back into executable HTML, which then bypasses WordPress output escaping in the faq-answer.php template. The ufaq custom post type is REST API-enabled with default post capabilities, allowing Authors to create and publish malicious FAQs via REST API. No public exploit code has been identified at time of analysis, but the vulnerability has a moderate CVSS 6.4 score reflecting its authenticated requirement and cross-site impact.
RemediationAI
Update Ultimate FAQ Accordion plugin to the patched version released after 2.4.7. Verify the fix in the plugin repository changelog at plugins.trac.wordpress.org/changeset to confirm that html_entity_decode() has been removed or that output escaping (wp_kses_post() or equivalent) has been added to faq-answer.php. As an interim workaround, restrict Author capability to create FAQ posts by using WordPress role management plugins or by modifying the 'post' capability_type in CustomPostTypes.class.php to require higher privileges (e.g., Editor). Disable REST API access to the ufaq custom post type if not required by disabling 'show_in_rest' in the plugin code. Audit existing FAQ content for entity-encoded payloads and remove suspicious entries.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Ultimate FAQ Accordion plugin processes FAQ content through a PHP rendering pipeline in View.FAQ.class.php (line 746) where set_display_variables() calls html_entity_decode() on post_content. This function converts HTML entities (e.g., <, >, ") back into raw HTML characters. The decoded content is then output in the faq-answer.php template without WordPress sanitization functions like wp_kses_post(). The vulnerability combines two weaknesses: entity encoding creates a bypass for WordPress's kses content sanitization (which filters at save time and sees entities as literal text, not HTML tags), and insufficient output escaping allows decoded HTML to execute. The ufaq custom post type is registered with 'show_in_rest' => true and uses default 'post' capability_type, enabling Author-level REST API access. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation, also known as Cross-site Scripting), specifically a variant combining input bypass (entity encoding) with output encoding failure.
Know when Ultimate Faq Accordion Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Ultimate FAQ Accordion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via FAQ content in all versions up to, and including, 2.4.7. This is due to the plugin calling html_entity_decode() on post_content during rendering in the set_display_variables() function (View.FAQ.class.php, line 746), which converts HTML entity-encoded payloads back into executable HTML, combined with insufficient output escaping in the faq-answer.php template where the decoded content is echoed without wp_kses_post() or any other sanitization. The ufaq custom post type is registered with 'show_in_rest' => true and defaults to 'post' capability_type, allowing Author-level users to create and publish FAQs via the REST API. An Author can submit entity-encoded malicious HTML (e.g., <img src=x onerror=alert()>) which bypasses WordPress's kses sanitization at save time (since kses sees entities as plain text, not tags), but is then decoded back into executable HTML by html_entity_decode() at render time. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in FAQ pages that will execute whenever a user accesses an injected FAQ, either directly or via the [ultimate-faqs] shortcode.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-20845
GHSA-xcgq-hf5p-j85h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB