The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-47948

CVE-2021-47948: WordPress GetPaid Plugin XSS Vulnerability

CVE-2021-47948 is an XSS vulnerability in WordPress GetPaid Plugin 2.4.6 that allows authenticated attackers to inject malicious HTML via payment form Help Text fields. This article covers technical details, impact, and mitigation.

Published: May 18, 2026

CVE-2021-47948 Overview

CVE-2021-47948 is an HTML injection vulnerability in the WordPress GetPaid (Invoicing) plugin version 2.4.6. The flaw resides in the Help Text field of the payment form creation interface. Authenticated attackers can inject arbitrary HTML, including <img> tags and inline scripts, when crafting payment forms. The injected markup is stored in the database and rendered in the browser of any user who later views the affected form. The issue is classified under CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page).

Critical Impact

Stored HTML injection in payment forms enables attackers to alter form content, deliver phishing payloads, or load remote resources within the context of the WordPress site.

Affected Products

  • WordPress GetPaid Plugin (also distributed as the Invoicing plugin) version 2.4.6
  • WordPress installations that expose payment form creation to lower-privileged authenticated users
  • Sites that render stored Help Text content to end users without sanitization

Discovery Timeline

  • 2026-05-10 - CVE-2021-47948 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2021-47948

Vulnerability Analysis

The GetPaid plugin renders the Help Text field of a payment form without neutralizing HTML control characters. An authenticated user with permission to create or edit payment forms can supply markup such as <img src=x onerror=...> in the Help Text input. The plugin persists this value to the WordPress database and later writes it directly into the rendered form page. Browsers parse the stored payload as live HTML rather than escaped text, producing a stored injection condition in the payment workflow.

Root Cause

The root cause is missing output encoding on the Help Text attribute associated with payment form fields. The plugin treats the field as trusted rich content instead of plain text. WordPress functions such as esc_html() or wp_kses() are not applied to the stored value before it is echoed into the form template, which violates the contextual escaping model expected for user-supplied data.

Attack Vector

Exploitation requires an authenticated session with rights to create or modify payment forms in the GetPaid plugin. The attacker inserts HTML into the Help Text field during form creation. Any subsequent visitor who loads the payment form receives the injected markup. The injected content can deface the form, present fake input fields to harvest credentials or payment data, or trigger requests to attacker-controlled hosts. Public exploitation details are documented in Exploit-DB #50246 and the VulnCheck advisory.

No verified exploit code is reproduced here. Refer to the published advisory for the proof-of-concept payload and step-by-step reproduction.

Detection Methods for CVE-2021-47948

Indicators of Compromise

  • Payment form records in the WordPress database containing HTML tags such as <img, <script, <iframe, or inline event handlers (onerror=, onload=) within Help Text fields.
  • Outbound HTTP requests from visitor browsers to unexpected domains when a GetPaid payment form is loaded.
  • Form audit log entries showing Help Text edits performed by non-administrator accounts.

Detection Strategies

  • Query the wp_posts and plugin-specific meta tables for GetPaid form definitions and flag entries whose Help Text values contain angle brackets or event-handler attributes.
  • Inspect rendered payment form HTML in staging environments and compare DOM nodes against the expected template to surface injected elements.
  • Review web access logs for repeated POST requests to GetPaid form creation or update endpoints from low-privilege accounts.

Monitoring Recommendations

  • Enable a web application firewall rule that inspects Help Text parameters submitted to GetPaid endpoints for HTML tags.
  • Alert on WordPress audit events where users below the administrator role modify payment forms.
  • Monitor Content Security Policy violation reports for inline script or unexpected image sources on pages that host payment forms.

How to Mitigate CVE-2021-47948

Immediate Actions Required

  • Upgrade the GetPaid (Invoicing) plugin to a release later than 2.4.6 that sanitizes Help Text input.
  • Restrict payment form creation and editing privileges to trusted administrator accounts only.
  • Review existing payment forms and remove any Help Text values containing HTML markup.

Patch Information

The vendor distributes updates through the official WordPress Invoicing Plugin page. Install the latest plugin version from the WordPress plugin directory and verify the Help Text field is rendered as escaped text after the update. Confirm the patched version through the VulnCheck advisory.

Workarounds

  • Remove payment form management capabilities from non-administrator roles using a WordPress role editor until the plugin is updated.
  • Deploy a Content Security Policy that blocks inline scripts and unapproved image sources on pages containing payment forms.
  • Add a WAF signature that rejects requests to GetPaid form endpoints whose Help Text parameter contains < or > characters.
bash
# Example WAF rule (ModSecurity) blocking HTML in Help Text submissions
SecRule ARGS_NAMES "@rx help_text" \
  "chain,phase:2,deny,status:403,id:1004794801,msg:'Possible HTML injection in GetPaid Help Text (CVE-2021-47948)'"
  SecRule ARGS "@rx <[A-Za-z/!]" "t:none,t:urlDecodeUni"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-80
  • Technical References
  • WordPress Invoicing Plugin

  • Exploit-DB #50246

  • VulnCheck Advisory on WordPress
  • Related CVEs
  • CVE-2026-6504: Royal Elementor Addons XSS Vulnerability

  • CVE-2026-6174: CC Child Pages WordPress Plugin XSS Flaw

  • CVE-2026-6252: Meta Field Block WordPress Plugin XSS Flaw

  • CVE-2026-3694: Bold Page Builder WordPress XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English