CVE-2021-39340 Notification – Custom Notifications and Alerts for WordPress <= 7.2.4 Authenticated Stored Cross-Site Scripting

Medium 4.8 Published Updated

Administrators can inject arbitrary scripts in WordPress Notification plugin when unfiltered_html is disabled, leading to stored XSS.

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

What is CVE-2021-39340?

CVE-2021-39340 is a medium-severity cross-site scripting vulnerability in Notification – Custom Notifications and Alerts for WordPress, published on 1 Nov 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Notification WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and sanitization via several parameters found in the ~/src/classes/Utils/Settings.php file which made it possible for attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 7.2.4. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.

Weakness: CWE-79

Which versions are affected by CVE-2021-39340?

It affects 1 product.

Products include Bracketspace Notification.

How do I fix CVE-2021-39340?

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

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

Sources

Also known as GHSA-f83v-8qph-hgj6.

Is CVE-2021-39340 in your software?

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

Check your SBOMs for free