CVE-2021-24536 Custom Login Redirect <= 1.0.0 - CSRF to Stored XSS

Medium 6.1 Published Updated

Attackers can inject malicious scripts via CSRF in Custom Login Redirect plugin settings, leading to stored XSS and potential site compromise.

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

CVE-2021-24536 is a medium-severity cross-site scripting vulnerability in Unknown Custom Login Redirect, published on 16 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 Custom Login Redirect WordPress plugin through 1.0.0 does not have CSRF check in place when saving its settings, and do not sanitise or escape user input before outputting them back in the page, leading to a Stored Cross-Site Scripting issue

Weakness: CWE-79, CWE-352

Which versions are affected by CVE-2021-24536?

It affects 1 product.

Products include Custom Login Redirect Project Custom Login Redirect.

How do I fix CVE-2021-24536?

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

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

Sources

Also known as GHSA-p5g7-c4w6-xf6v.

Is CVE-2021-24536 in your software?

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

Check your SBOMs for free