CVE-2022-1717
WordPress vulnerability analysis and mitigation

Overview

The Custom Share Buttons with Floating Sidebar WordPress plugin versions below 4.2 contain a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2022-1717. The vulnerability was discovered and publicly disclosed on May 26, 2022. The issue affects the plugin's settings functionality, particularly impacting administrators when the unfiltered_html capability is disallowed (WPScan).

Technical details

The vulnerability stems from improper sanitization and escaping of plugin settings. This security flaw is specifically present in the Floating Sidebar settings, where social sharing options can be configured. The vulnerability has been assigned a CVSS score of 3.4 (Low), and is classified as CWE-79: Cross-Site Scripting (WPScan).

Impact

When exploited, this vulnerability allows high-privilege users such as administrators to perform Stored Cross-Site Scripting attacks. The impact is particularly significant when the unfiltered_html capability is disallowed. The XSS payload can be triggered both in the plugin's settings page and in the frontend when the Sidebar and related Social Share buttons are active (WPScan).

Exploitability

The vulnerability can be exploited by inserting malicious JavaScript code into any of the Floating Sidebar's 'Share on' settings fields. For example, a proof of concept demonstrates that inserting the payload '" autofocus onfocus=alert(/XSS/)//' into the Share on Facebook settings field can trigger the XSS when viewing the plugin's settings or when the sidebar is active on the frontend (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 4.2 of the Custom Share Buttons with Floating Sidebar plugin. Users are advised to update to this version or later to mitigate the risk (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-2026-18044NONEN/A
  • estatik
NoYesAug 12, 2026
CVE-2026-17008NONEN/A
  • quick-paypal-payments
NoNoAug 12, 2026
CVE-2026-16990NONEN/A
  • wp-paypal
NoNoAug 12, 2026
CVE-2026-16747NONEN/A
  • kirki
NoYesAug 12, 2026
CVE-2026-16621NONEN/A
  • woo-paypal-gateway
NoYesAug 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