Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-6246: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mkerstner Simple Random Posts Shortcode

0
Medium
VulnerabilityCVE-2026-6246cvecve-2026-6246cwe-79
Published: Wed Apr 22 2026 (04/22/2026, 07:45:38 UTC)
Source: CVE Database V5
Vendor/Project: mkerstner
Product: Simple Random Posts Shortcode

Description

The Simple Random Posts Shortcode plugin for WordPress up to version 0. 3 contains a stored cross-site scripting (XSS) vulnerability via the 'container_right_width' attribute of its shortcode. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when other users view the affected pages. This vulnerability arises from insufficient input sanitization and output escaping of user-supplied attributes. The CVSS score is 6. 4, indicating a medium severity risk. No official patch or remediation has been confirmed at this time.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 08:46:48 UTC

Technical Analysis

CVE-2026-6246 is a stored cross-site scripting vulnerability in the Simple Random Posts Shortcode WordPress plugin (versions up to 0.3). The flaw exists because the plugin does not properly sanitize or escape the 'container_right_width' attribute in the 'simple_random_posts' shortcode. This allows authenticated users with contributor or higher privileges to inject arbitrary JavaScript code into pages, which executes in the context of users viewing those pages. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting network attack vector, low attack complexity, required privileges of low (contributor), no user interaction, and impacts on confidentiality and integrity but not availability. There is no vendor advisory or patch currently available, and no known exploits in the wild have been reported.

Potential Impact

An attacker with contributor-level access or higher can exploit this vulnerability to inject malicious scripts into WordPress pages via the vulnerable shortcode attribute. This can lead to unauthorized actions such as session hijacking, defacement, or other client-side attacks when other users view the injected content. The impact affects confidentiality and integrity of user sessions and data but does not affect availability. Since the attack requires authenticated access, the risk is limited to environments where such user roles exist.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the Simple Random Posts Shortcode plugin if it is not essential. Additionally, monitor for updates from the plugin author or WordPress security channels for any forthcoming patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-04-13T17:44:25.829Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e8877219fe3cd2cd8093e4

Added to database: 4/22/2026, 8:31:46 AM

Last enriched: 4/22/2026, 8:46:48 AM

Last updated: 4/22/2026, 9:53:05 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses