CVE-2026-9620
Received Received - Intake
Stored XSS in WP Latest Posts WordPress Plugin

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: Wordfence

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-24
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wp_latest_posts plugin to 5.0.11 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The WP Latest Posts plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 5.0.11. This occurs because the plugin does not properly escape output when handling image src attributes in post content. Specifically, the field() and loop() functions extract raw src attribute values from <img> tags using a regular expression and then reconstruct new <img> elements or CSS background-image declarations by directly concatenating these unescaped values. This bypasses WordPress's built-in filtering, allowing authenticated users with author-level access or higher to inject malicious scripts that execute whenever a user views the affected page.

Impact Analysis

This vulnerability allows attackers with author-level access or higher to inject arbitrary web scripts into pages. These scripts execute in the context of users who visit the injected pages, potentially leading to theft of user credentials, session hijacking, defacement, or distribution of malware. Because the attack is stored, the malicious code persists and affects all users who access the compromised content.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-9620. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart