CVE-2026-6246
Received Received - Intake
Stored XSS in Simple Random Posts WordPress Plugin Allows Script Injection

Publication date: 2026-04-22

Last updated on: 2026-04-22

Assigner: Wordfence

Description
The Simple Random Posts Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'container_right_width' attribute of the 'simple_random_posts' shortcode in all versions up to, and including, 0.3 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-22
Last Modified
2026-04-22
Generated
2026-05-07
AI Q&A
2026-04-22
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
simple_random_posts shortcode to 0.3 (inc)
simple_random_posts 0.3 to 0.3 (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 Powered Q&A
Can you explain this vulnerability to me?

The Simple Random Posts Shortcode plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in the 'container_right_width' attribute of the 'simple_random_posts' shortcode. This vulnerability exists in all versions up to and including 0.3 due to insufficient input sanitization and output escaping on user-supplied attributes.

Authenticated attackers with contributor-level access or higher can exploit this flaw to inject arbitrary web scripts into pages. These scripts will execute whenever any user accesses the injected page.


How can this vulnerability impact me? :

This vulnerability allows attackers with contributor-level access or above to inject malicious scripts into WordPress pages. When other users visit these pages, the injected scripts execute, potentially leading to unauthorized actions such as stealing user credentials, session hijacking, or defacement.

The CVSS v3.1 base score of 6.4 indicates a medium severity impact, with low attack complexity but requiring privileges and no user interaction.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart