SecurityContext

CVE-2021-24208: WP Page Builder - Stored Cross-Site Scripting

  • Cve: CVE-2021-24208
  • Name: WP Page Builder - Stored Cross-Site Scripting
  • Description: The editor of the WP Page Builder WordPress plugin before 1.2.4 allows lower-privileged users to insert unfiltered HTML, including JavaScript, into pages via the “Raw HTML” widget and the “Custom HTML” widgets (though the custom HTML widget requires sending a crafted request - it appears that this widget uses some form of client side validation but not server side validation), all of which are added via the “page_builder_data” parameter when performing the “wppb_page_save” AJAX action. It is also possible to insert malicious JavaScript via the “wppb_page_css” parameter (this can be done by closing out the style tag and opening a script tag) when performing the “wppb_page_save” AJAX action.
  • Impact: Attackers can execute malicious scripts in users' browsers, potentially leading to session hijacking, defacement, or redirection.
  • Remediation: Update to version 1.2.4 or later to fix the vulnerability.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs to be logged in with lower privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00658
  • Epss percentile: 0.52236
  • Assignee: [email protected]
  • Published at: 2021-04-05T19:15:17Z
  • Age in days: 2059
  • Modified at: 2026-06-17T03:39:36Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24208
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://wpscan.com/vulnerability/c20e243d-b0de-4ae5-9a0d-b9d02c9b8141nvd2021-04-05

References

UrlSourceTags
https://www.themeum.com/wp-page-builder-updated-v1-2-4/nvdPatch, Vendor Advisory
https://wpscan.com/vulnerability/c20e243d-b0de-4ae5-9a0d-b9d02c9b8141nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
themeum:wp_page_builder< 1.2.4nonvd/v1/products/themeum/wp_page_builder

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-04-05
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts