CVE-2021-24808 BP Better Messages < 1.9.9.41 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via unsanitized input in the BP Better Messages WordPress plugin.

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-24808?

CVE-2021-24808 is a medium-severity cross-site scripting vulnerability in Unknown BP Better Messages, published on 1 Nov 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 BP Better Messages WordPress plugin before 1.9.9.41 sanitise (with sanitize_text_field) but does not escape the 'subject' parameter before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting issue

Weakness: CWE-79

Which versions are affected by CVE-2021-24808?

It affects 1 product.

Products include Wordplus Better Messages.

How do I fix CVE-2021-24808?

No fix has been published for CVE-2021-24808 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-24808 being exploited?

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

Sources

Also known as GHSA-g5jj-wf98-76w5.

Is CVE-2021-24808 in your software?

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

Check your SBOMs for free