CVE-2021-24304 Newsmag < 5.0 - Unauthenticated Reflected Cross-site Scripting (XSS)

Medium 6.1 Published Updated

Unauthenticated attackers can execute arbitrary scripts via the td_block_id parameter in the Newsmag WordPress theme.

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

CVE-2021-24304 is a medium-severity cross-site scripting vulnerability in Unknown Newsmag, published on 9 Aug 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 Newsmag WordPress theme before 5.0 does not sanitise the td_block_id parameter in its td_ajax_block AJAX action, leading to an unauthenticated Reflected Cross-site Scripting (XSS) vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2021-24304?

It affects 1 product.

Products include Tagdiv Newsmag.

How do I fix CVE-2021-24304?

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

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

Sources

Also known as GHSA-r4x2-f4r3-gw2j.

Is CVE-2021-24304 in your software?

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

Check your SBOMs for free