CVE-2022-4787
WordPress vulnerability analysis and mitigation

Overview

The Themify Shortcodes WordPress plugin versions before 2.0.8 contains a stored Cross-Site Scripting (XSS) vulnerability. The plugin fails to properly validate and escape one of its shortcode attributes, which affects users with contributor-level permissions or higher (WPScan Vuln).

Technical details

The vulnerability is tracked as CVE-2022-4787 with a CVSS v3.1 base score of 5.4 (Medium) and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The issue stems from improper neutralization of input during web page generation, classified as CWE-79. The vulnerability allows users with contributor-level access to inject malicious JavaScript code through shortcode attributes (NVD Database).

Impact

When exploited, this vulnerability allows attackers with contributor-level access to store and execute malicious JavaScript code that can affect other users, including administrators, who view the affected content. This could lead to session hijacking, defacement, or theft of sensitive browser data (WPScan Vuln).

Mitigation and workarounds

Users are advised to update their Themify Shortcodes plugin to version 2.0.8 or later, which contains the security fix for this vulnerability (WPScan Vuln).

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-2025-12379MEDIUM6.4
  • auxin-elements
NoYesJan 10, 2026
CVE-2025-14555MEDIUM6.4
  • widget-countdown
NoYesJan 10, 2026
CVE-2025-14506MEDIUM6.4
  • convertforce-popup-builder
NoYesJan 10, 2026
CVE-2025-13393MEDIUM4.3
  • featured-image-from-url
NoYesJan 10, 2026
CVE-2025-14579N/AN/A
  • quiz-maker
NoYesJan 12, 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