CVE-2026-3554: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sherkspear Sherk Custom Post Type Displays
The Sherk Custom Post Type Displays plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'title' shortcode attribute in all versions up to, and including, 1.2.1. This is due to insufficient input sanitization and output escaping on the 'title' attribute of the 'sherkcptdisplays' shortcode. Specifically, in the sherkcptdisplays_func() function in includes/SherkCPTDisplaysShortcode.php, the 'title' attribute value is extracted from shortcode_atts() on line 19 and directly concatenated into an HTML <h2> tag on line 31 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-3554 describes a stored cross-site scripting vulnerability in the Sherk Custom Post Type Displays WordPress plugin. The issue arises from insufficient input sanitization and output escaping of the 'title' attribute in the 'sherkcptdisplays' shortcode. Specifically, the 'title' attribute is extracted via shortcode_atts() and directly concatenated into an HTML <h2> element without escaping in the sherkcptdisplays_func() function. This allows authenticated users with Contributor or higher privileges to inject arbitrary JavaScript code that executes in the context of any user viewing the affected page. The vulnerability affects all versions up to and including 1.2.1. There is no vendor advisory or patch link provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an authenticated user with Contributor-level or higher privileges to inject persistent malicious scripts into pages using the vulnerable shortcode. This can lead to unauthorized script execution in the browsers of users who view the injected content, potentially resulting in session hijacking, privilege escalation, or other client-side attacks. The vulnerability does not impact availability but affects confidentiality and integrity of user sessions and data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting Contributor-level access or higher to trusted users only and avoid using the vulnerable shortcode with untrusted input. Monitoring for plugin updates from the vendor is recommended to apply any forthcoming official fixes.
CVE-2026-3554: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sherkspear Sherk Custom Post Type Displays
Description
The Sherk Custom Post Type Displays plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'title' shortcode attribute in all versions up to, and including, 1.2.1. This is due to insufficient input sanitization and output escaping on the 'title' attribute of the 'sherkcptdisplays' shortcode. Specifically, in the sherkcptdisplays_func() function in includes/SherkCPTDisplaysShortcode.php, the 'title' attribute value is extracted from shortcode_atts() on line 19 and directly concatenated into an HTML <h2> tag on line 31 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-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-3554 describes a stored cross-site scripting vulnerability in the Sherk Custom Post Type Displays WordPress plugin. The issue arises from insufficient input sanitization and output escaping of the 'title' attribute in the 'sherkcptdisplays' shortcode. Specifically, the 'title' attribute is extracted via shortcode_atts() and directly concatenated into an HTML <h2> element without escaping in the sherkcptdisplays_func() function. This allows authenticated users with Contributor or higher privileges to inject arbitrary JavaScript code that executes in the context of any user viewing the affected page. The vulnerability affects all versions up to and including 1.2.1. There is no vendor advisory or patch link provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an authenticated user with Contributor-level or higher privileges to inject persistent malicious scripts into pages using the vulnerable shortcode. This can lead to unauthorized script execution in the browsers of users who view the injected content, potentially resulting in session hijacking, privilege escalation, or other client-side attacks. The vulnerability does not impact availability but affects confidentiality and integrity of user sessions and data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, administrators should consider restricting Contributor-level access or higher to trusted users only and avoid using the vulnerable shortcode with untrusted input. Monitoring for plugin updates from the vendor is recommended to apply any forthcoming official fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-04T19:06:28.847Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69be1810f4197a8e3b784383
Added to database: 3/21/2026, 4:01:20 AM
Last enriched: 4/9/2026, 11:35:33 AM
Last updated: 5/2/2026, 3:51:04 PM
Views: 28
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.