CVE-2022-3986
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-3986 affects the WP Stripe Checkout WordPress plugin versions below 1.2.2.21. It is a Stored Cross-Site Scripting (XSS) vulnerability that was discovered and publicly disclosed on November 22, 2022. The vulnerability allows users with contributor-level permissions or higher to perform stored XSS attacks through unvalidated shortcode attributes (WPScan).

Technical details

The vulnerability stems from the plugin's failure to properly validate and escape shortcode attributes before outputting them back in the page. The vulnerability has been assigned a CVSS score of 6.8 (medium severity) and is classified under CWE-79. The vulnerability can be exploited by injecting malicious JavaScript code through the shortcode attributes, which gets stored and executed when the page is viewed (WPScan).

Impact

When exploited, this vulnerability allows attackers with contributor-level access to store and execute malicious JavaScript code that affects users viewing the compromised pages. This could lead to various attacks including cookie theft, session hijacking, or other client-side attacks against site visitors (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 1.2.2.21 of the WP Stripe Checkout plugin. Site administrators 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-2025-13126HIGH7.5
  • wpforo
NoYesDec 14, 2025
CVE-2025-12537MEDIUM6.4
  • addon-elements-for-elementor-page-builder
NoYesDec 14, 2025
CVE-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-12696N/AN/A
  • hls-crm-form-shortcode
NoNoDec 14, 2025

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