CVE-2026-8886: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in huankong hk_shortcode
The hk_shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'title-plane' shortcode in versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes in the huankong_post_short_title_plane() function, where the 'title' attribute is concatenated directly into HTML output without any 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.
AI Analysis
Technical Summary
CVE-2026-8886 is a stored cross-site scripting vulnerability in the hk_shortcode WordPress plugin due to improper neutralization of input in the 'title-plane' shortcode. The vulnerability exists because the 'title' attribute is concatenated directly into HTML output without escaping in the huankong_post_short_title_plane() function. Authenticated users with contributor or higher privileges can exploit this to inject arbitrary JavaScript that executes in the context of any user viewing the injected page. This vulnerability affects versions up to and including 1.0 of the plugin. The CVSS 3.1 base score is 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, scope change, and limited confidentiality and integrity impact.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages via the 'title-plane' shortcode. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to theft of session tokens, defacement, or other client-side impacts. The vulnerability does not impact availability. The scope is changed, meaning the vulnerability affects resources beyond the vulnerable component. Confidentiality and integrity impacts are limited but present.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the hk_shortcode plugin if feasible. Monitor official vendor channels for updates and apply patches promptly once available.
CVE-2026-8886: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in huankong hk_shortcode
Description
The hk_shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'title-plane' shortcode in versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes in the huankong_post_short_title_plane() function, where the 'title' attribute is concatenated directly into HTML output without any 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 v3.1
Score 6.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8886 is a stored cross-site scripting vulnerability in the hk_shortcode WordPress plugin due to improper neutralization of input in the 'title-plane' shortcode. The vulnerability exists because the 'title' attribute is concatenated directly into HTML output without escaping in the huankong_post_short_title_plane() function. Authenticated users with contributor or higher privileges can exploit this to inject arbitrary JavaScript that executes in the context of any user viewing the injected page. This vulnerability affects versions up to and including 1.0 of the plugin. The CVSS 3.1 base score is 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, scope change, and limited confidentiality and integrity impact.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages via the 'title-plane' shortcode. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to theft of session tokens, defacement, or other client-side impacts. The vulnerability does not impact availability. The scope is changed, meaning the vulnerability affects resources beyond the vulnerable component. Confidentiality and integrity impacts are limited but present.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the hk_shortcode plugin if feasible. Monitor official vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-18T20:36:54.922Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a169063e29bf47b509e17a8
Added to database: 5/27/2026, 6:34:11 AM
Last enriched: 5/27/2026, 6:49:44 AM
Last updated: 5/29/2026, 4:58:06 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.