CVE-2026-8042
Received Received - Intake
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-05-27
AI Q&A
2026-05-27
EPSS Evaluated
N/A
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.

Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart