CVE-2026-8042
MEDIUM
6.4
CVSS 3.1
Description
The Github Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'repo' shortcode attribute in the 'github' shortcode in all versions up to, and including, 0.1 due to insufficient input sanitization and output escaping. 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.
Affected WordPress components
-
github-shortcode Plugin · github-shortcodeUp to and including 0.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- octalmage Github Shortcode — Up to and including 0.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/github-shortcode/tags/0.1/githubshortcode.php#L25
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/github-shortcode/trunk/githubshortcode.php#L25
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/c6848b7a-d869-41e7-9f33-01a35b6d4822?source=cve
- nvd.nist.gov Official NVD record