Skip to main content

WP Latest Posts CVE-2026-9620

| EUVDEUVD-2026-38684 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 Wordfence GHSA-4mxp-2cfv-x3f6
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Recon
    Obtain WordPress author-level credential
  2. Delivery
    Publish post with malicious img src payload
  3. Exploit
    Plugin field() or loop() extracts unescaped src via regex
  4. Install
    Payload injected into rendered HTML or CSS on live page
  5. C2
    Victim visits injected page
  6. Execute
    Script executes in victim browser context
  7. Impact
    Exfiltrate session cookies or hijack admin session

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

Exploitation requires an authenticated WordPress session with at minimum author-level privileges on the target installation - subscriber or unauthenticated users cannot publish or edit posts and therefore cannot plant the payload. The WP Latest Posts plugin (version 5.0.11 or earlier) must be installed and active, and the plugin's field() or loop() rendering functions must be configured to display content from a post the attacker controls - meaning the plugin's widgets, shortcodes, or template tags must be active on at least one publicly accessible page. Exploitation is limited to WordPress sites running the affected plugin version range. What limits exploitation: the author-level credential requirement excludes unauthenticated attackers; sites that grant author access only to fully trusted internal staff face significantly reduced real-world exposure. The victim side requires only passive page access - no user interaction beyond visiting the injected page is needed to trigger the payload.

Impact

The reported CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) scores 6.4 Medium, but the UI:N designation is inconsistent with the CVE description, which states that exploitation occurs 'whenever a user accesses an injected page' - passive victim navigation satisfies UI:R under standard CVSS 3.1 methodology, which would reduce the score to approximately 5.4 Medium. This discrepancy should be verified against the Wordfence advisory. No EPSS score was provided in the available intelligence; no CISA KEV listing and no public POC have been identified, making this a lower-urgency finding relative to actively exploited vulnerabilities. The PR:L requirement (author-level WordPress account) is a meaningful barrier on sites with strict role governance, but WordPress deployments commonly grant author access to content contributors, bloggers, or external writers, expanding the realistic attacker population. The S:C scope change is well-founded: the payload executes in the victim's browser context, enabling session cookie theft, credential harvesting, or admin-targeted attacks if an administrator visits the injected page. Real-world priority is moderate - this is not a no-auth network exploit, but the author-level barrier is low on many production sites.

Exploit ScenarioDerived

An attacker with a WordPress author account on the target site creates or edits a post, embedding a crafted img tag with a JavaScript payload in the src attribute - for example, src set to a value containing an onerror handler that exfiltrates document.cookie to an attacker-controlled endpoint. When the WP Latest Posts plugin renders any page that invokes the field() or loop() functions against that post's content, the plugin extracts and directly injects the unescaped src value into the output HTML, delivering the stored payload to every subsequent visitor. No public exploit code has been identified, though the attack requires no advanced technique - only standard XSS payload construction and an author-level WordPress credential.

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

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

Alert me

AnalysisAIv1 – Jun 24, 2026

Stored Cross-Site Scripting in the WP Latest Posts WordPress plugin (versions up to and including 5.0.11) allows authenticated attackers with author-level access to plant persistent JavaScript payloads by crafting malicious image src attributes in post content. The plugin's field() and loop() functions in wplp-front.inc.php extract raw src values via regex and reconstruct HTML img elements or CSS background-image declarations through direct string concatenation, entirely bypassing WordPress's built-in kses sanitization. No public exploit code or CISA KEV listing has been identified at time of analysis; however, the scope change to the victim's browser context enables session hijacking or credential theft against any user who visits an injected page.

RemediationAI

No confirmed patched version is identified in the available intelligence data - all provided references point exclusively to the 5.0.11 tag in the WordPress Trac repository, with no newer release confirmed as containing a fix. Site administrators should immediately check the WordPress.org plugin repository for a version of WP Latest Posts newer than 5.0.11 and apply any available update. If no update is available, deactivating or removing the WP Latest Posts plugin eliminates the attack surface entirely, at the cost of losing the plugin's post-display functionality. As a compensating control without deactivating the plugin, restrict author-level and above WordPress roles to fully trusted, verified users only - removing external contributors or unverified author accounts closes the primary attack vector. Avoid granting author or editor roles during the remediation window. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/e00f69d6-df33-4179-843b-98f8ed034e4a should be monitored for patch confirmation and updated guidance.

Affected VersionsENISA

WP Latest Posts 0 ≤5.0.11

Affected Packages

euvd wp_latest_posts 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 affected component is the WP Latest Posts plugin for WordPress, developed by JoomUnited (CPE: cpe:2.3:a:joomunited:wp_latest_posts:*:*:*:*:*:*:*:*). The vulnerability exists specifically in /inc/wplp-front.inc.php, where the field() function (line ~2738) and loop() function (lines ~2284 and ~2326) process post_content by applying a regular expression to extract raw src attribute values from img tags, then reconstruct new img HTML elements or CSS background-image declarations via direct string concatenation without any output escaping. WordPress's kses filter - the platform's standard mechanism for stripping dangerous HTML attributes from stored content - is bypassed entirely because these functions operate on content after it has already passed through storage, re-parsing and re-emitting raw attribute values outside the kses pipeline. The root cause class is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored variant where the injection point is the image src attribute and the sink is the reconstructed HTML or CSS output rendered to site visitors.

Know when Wp Latest Posts 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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS still requires victim page access (UI:R); author-level auth needed (PR:L); scope changes to victim browser (S:C); no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The WP Latest Posts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted image src attributes in post content in versions up to, and including, 5.0.11. This is due to insufficient output escaping in the field() and loop() functions, which extract the raw src attribute value from <img> tags within post_content using a regular expression and then reconstruct new <img> elements or CSS background-image declarations by directly concatenating the unescaped value - bypassing WordPress's kses filtering entirely. This makes it possible for authenticated attackers, with author-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.2%
Top 89% exploitable
Prevalence
Low
niche WordPress plugin, not among widely-installed ecosystem extensions
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.2%
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