Stored Cross-Site Scripting in Simple Random Posts Shortcode Plugin for WordPress
CVE-2026-6246

6.4MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
22 April 2026

What is CVE-2026-6246?

The Simple Random Posts Shortcode plugin for WordPress is susceptible to a Stored Cross-Site Scripting vulnerability due to inadequate input sanitization and output escaping of the 'container_right_width' attribute in the 'simple_random_posts' shortcode. This vulnerability affects all versions up to 0.3, allowing authenticated attackers with contributor-level access or higher to inject malicious scripts. When these scripts are executed, they can compromise the integrity of the web pages viewed by users, leading to potential exploits that may affect user data.

Affected Version(s)

Simple Random Posts Shortcode 0 <= 0.3

References

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

nail majdeddine
.