CVE-2020-37233: BuddyPress persistent XSS in wp:html blocks

CVE-2020-37233 · Severity: medium · CVSS 6.4 · Published 2026-05-16

BuddyPress is a popular WordPress plugin used to build social networking communities. A security flaw in versions 6.0.0 through 6.2.0 allows users with moderator privileges to inject malicious scripts into site pages. If an administrator views or previews these pages, the attacker could hijack their session, redirect users to malicious websites, or perform phishing attacks, potentially compromising the entire site.

Technologies: BuddyPress. Vendors: BuddyPress.

Quick answers

Is CVE-2020-37233 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-37233 being exploited in the wild.
How severe is CVE-2020-37233?
Medium severity, with a CVSS score of 6.4, published 16 May 2026.
Which products and versions are affected?
BuddyPress 6.0.0 - 6.2.0.
Is there a fix for CVE-2020-37233?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2020-37233 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2020-37233?
Check whether you run BuddyPress at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A persistent cross-site scripting (XSS) vulnerability exists in BuddyPress versions 6.0.0 through 6.2.0. The flaw is located in the handling of the 'figure' parameter within 'wp:html' blocks. Authenticated attackers with moderator-level privileges can use a POST request to inject malicious iframe elements containing JavaScript event handlers (such as 'onload'). When an administrator or other privileged user previews or views the affected content, the script executes in their browser context. This can lead to session hijacking, unauthorized administrative actions, or persistent phishing. The vulnerability was publicly disclosed in late 2020.

Affected products

  • BuddyPress BuddyPress 6.0.0 - 6.2.0

Timeline

  • 2020-11-13: disclosed: Initial public disclosure by Vulnerability-Lab
  • 2020-11-17: other: Exploit published to Exploit-DB
  • 2026-05-16: advisory: NVD/VulnCheck advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.