CVE-2026-8042
Deferred Deferred - Pending Action
Stored XSS in WordPress Github Shortcode Plugin

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: Wordfence

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
github shortcode_plugin to 0.1 (inc)
github shortcode to 0.1 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions
Instant insights powered by AI
Executive Summary

The Github Shortcode plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in the 'repo' shortcode attribute of the 'github' shortcode. This vulnerability exists in all versions up to and including 0.1 due to insufficient input sanitization and output escaping.

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.

Impact Analysis

This vulnerability allows attackers with certain access privileges to inject malicious scripts into web pages, which can then execute in the browsers of users who visit those pages.

  • It can lead to theft of user credentials or session tokens.
  • It may enable attackers to perform actions on behalf of users without their consent.
  • It can damage the trustworthiness and integrity of the affected website.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-8042. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart