CVE-2026-6246
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.