CVE-2021-24218 Facebook for WordPress 3.0.0-3.0.3 - CSRF to Stored XSS and Settings Deletion

High 8.8 Published Updated

Attackers can exploit CSRF to inject malicious scripts and delete settings in the Facebook for WordPress plugin, requiring an upgrade to fix.

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

What is CVE-2021-24218?

CVE-2021-24218 is a high-severity vulnerability in Unknown Facebook for WordPress, published on 12 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The wp_ajax_save_fbe_settings and wp_ajax_delete_fbe_settings AJAX actions of the Facebook for WordPress plugin before 3.0.4 were vulnerable to CSRF due to a lack of nonce protection. The settings in the saveFbeSettings function had no sanitization allowing for script tags to be saved.

Weakness: CWE-352

Which versions are affected by CVE-2021-24218?

It affects 1 product.

Products include Facebook Facebook.

How do I fix CVE-2021-24218?

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

Is CVE-2021-24218 being exploited?

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

Sources

Also known as GHSA-28p8-w9v3-x57w.

Is CVE-2021-24218 in your software?

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

Check your SBOMs for free