CVE-2021-24208 WP Page Builder < 1.2.4 - Multiple Stored Cross-Site scripting (XSS)

Medium 5.4 Published Updated

Lower-privileged users can inject malicious JavaScript into pages via unfiltered HTML widgets, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24208?

CVE-2021-24208 is a medium-severity cross-site scripting vulnerability in Unknown WP Page Builder, published on 5 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2021-24208?

It affects 1 product.

Products include Themeum Wp Page Builder.

How do I fix CVE-2021-24208?

No fix has been published for CVE-2021-24208 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-24208 being exploited?

There is no known exploitation of CVE-2021-24208 in the wild and no public exploit code.

Sources

Also known as GHSA-pf43-g47c-f3f8.

Is CVE-2021-24208 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free