Skip to main content

Ultimate Faq Accordion Plugin CVE-2026-4336

| EUVDEUVD-2026-20845 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-09 Wordfence GHSA-xcgq-hf5p-j85h
6.4
CVSS 3.1 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Ultimate FAQ Accordion Plugin 0 ≤2.4.7

Affected Packages

euvd ultimate_faq_accordion_plugin no fix

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

NVD PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy