Stored Cross-Site Scripting Vulnerability in GitHub Shortcode Plugin for WordPress
CVE-2026-8042
Key Information:
- Vendor
WordPress
- Status
- CVE ID
- CVE ID:
- CVE-2026-8042
- Vendor
- CVE Published:
- 27 May 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Github Shortcode. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.4).
What is CVE-2026-8042?
The GitHub Shortcode plugin for WordPress is susceptible to stored cross-site scripting due to inadequate input sanitization and output escaping. Authenticated attackers with Contributor-level access or higher can exploit this vulnerability by injecting malicious scripts through the 'repo' shortcode attribute in the 'github' shortcode. The injected scripts are executed on pages whenever users access them, posing significant security risks to affected WordPress sites.
Affected Version(s)
Github Shortcode 0 <= 0.1
References
More WordPress Vulnerabilities
SQL Injection Vulnerability in Hello Clever Gateway for WooCommerce by Hello Clever Pty
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction