CVE-2022-1217
WordPress vulnerability analysis and mitigation

Overview

The Custom TinyMCE Shortcode Button WordPress plugin through version 1.1 contains a reflected Cross-Site Scripting (XSS) vulnerability identified as CVE-2022-1217. The vulnerability was discovered and publicly disclosed on April 19, 2022. The issue affects the plugin's admin page functionality where the PHP_SELF variable is not properly sanitized and escaped before being output (CVE Details, WPScan).

Technical details

The vulnerability stems from improper input validation where the PHP_SELF variable is output without sanitization in an attribute within an admin page. The vulnerability has been assigned a CVSS score of 6.1 (medium severity) and is classified as CWE-79. A proof of concept exploit involves accessing the URL pattern: https://example.com/wp-admin/options-general.php/"%3E%3Csvg/onload=alert(/xss/)%3E?page=stscb-page-elements (WPScan).

Impact

The vulnerability allows attackers to execute cross-site scripting attacks through the admin page of WordPress installations using the affected plugin. This could potentially lead to unauthorized actions being performed in the context of the authenticated administrator session (WPScan).

Mitigation and workarounds

As of the last update, there is no known fix available for this vulnerability. Users of the Custom TinyMCE Shortcode Button WordPress plugin should consider either removing the plugin or implementing additional security controls to restrict access to the affected admin pages (WPScan).

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-14001MEDIUM5.4
  • wp-duplicate-page
NoYesJan 13, 2026
CVE-2025-14579MEDIUM4.8
  • quiz-maker
NoYesJan 12, 2026
CVE-2025-13393MEDIUM4.3
  • featured-image-from-url
NoYesJan 10, 2026
CVE-2025-14829N/AN/A
  • e-xact-hosted-payment
NoNoJan 13, 2026
CVE-2025-10915N/AN/A
  • dreamer-blog
NoNoJan 13, 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