CVE-2026-8886
Stored XSS in hk_shortcode WordPress Plugin
Publication date: 2026-05-27
Last updated on: 2026-05-27
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| huankong | hk_shortcode | to 1.0 (inc) |
Helpful Resources
Exploitability
| 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 hk_shortcode plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in its 'title-plane' shortcode in versions up to and including 1.0.
This vulnerability arises because the plugin does not properly sanitize or escape user-supplied input in the 'title' attribute of the shortcode. Specifically, the 'title' attribute is directly concatenated into HTML output without escaping.
As a result, authenticated users with contributor-level access or higher can inject malicious scripts into pages. These scripts will execute whenever any user views the affected page.
How can this vulnerability impact me? :
This vulnerability allows attackers with contributor-level access or above to inject arbitrary web scripts into pages.
When other users access these pages, the injected scripts execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions.
Because the vulnerability is a Stored Cross-Site Scripting issue, the malicious code persists on the site and affects all users who view the compromised content.