# CVE-2026-4336: Ultimate FAQ Accordion Plugin \<= 2.4.7 - Authenticated (Author+) Stored Cross-Site Scripting via FAQ Content

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.4
- **CVSS:** 6.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.41% (percentile 27, 2026-11-28)
- **CWE:** CWE-79
- **Published:** 2026-04-09T03:25:57.761Z
- **Modified:** 2026-06-17T10:56:26.447Z

## Who should check

- Anyone running rustaurius Ultimate FAQ Accordion Plugin \<= 2.4.7

## Description

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., &lt;img src=x onerror=alert()&gt;) 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.

## Affected and fixed versions

- rustaurius Ultimate FAQ Accordion Plugin: \<= 2.4.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-4336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-4336.md
Affected: rustaurius Ultimate FAQ Accordion Plugin <= 2.4.7
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for rustaurius Ultimate FAQ Accordion Plugin: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-4336 being exploited?

There is no confirmed exploitation: CVE-2026-4336 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-4336?

Medium: CVSS 6.4 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-4336?

rustaurius Ultimate FAQ Accordion Plugin \<= 2.4.7.

### Is there a fix for CVE-2026-4336?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-4336?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/5ac3ac02-d496-46cb-9aff-ffeeb8fd80fa?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/ultimate-faqs/trunk/ewd-ufaq-templates/faq-answer.php#L2>
- other: <https://plugins.trac.wordpress.org/browser/ultimate-faqs/tags/2.4.7/ewd-ufaq-templates/faq-answer.php#L2>
- other: <https://plugins.trac.wordpress.org/browser/ultimate-faqs/trunk/views/View.FAQ.class.php#L746>
- other: <https://plugins.trac.wordpress.org/browser/ultimate-faqs/tags/2.4.7/views/View.FAQ.class.php#L746>
- other: <https://plugins.trac.wordpress.org/browser/ultimate-faqs/trunk/includes/CustomPostTypes.class.php#L84>
- other: <https://plugins.trac.wordpress.org/browser/ultimate-faqs/tags/2.4.7/includes/CustomPostTypes.class.php#L84>
- other: <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3492083%40ultimate-faqs&new=3492083%40ultimate-faqs&sfp_email=&sfph_mail=>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-4336>

HTML: <https://flawdb.com/CVE-2026-4336> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-4336>
