Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3554: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sherkspear Sherk Custom Post Type Displays

0
Medium
VulnerabilityCVE-2026-3554cvecve-2026-3554cwe-79
Published: Sat Mar 21 2026 (03/21/2026, 03:27:05 UTC)
Source: CVE Database V5
Vendor/Project: sherkspear
Product: 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

AILast updated: 04/09/2026, 11:35:33 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses