CVE-2021-24316 Mediumish <= 1.0.47 - Unauthenticated Reflected Cross-Site Scripting (XSS)

Medium 6.1 Published Updated

An unauthenticated attacker can execute arbitrary scripts in a victim's browser via the search parameter in the Mediumish 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-24316?

CVE-2021-24316 is a medium-severity cross-site scripting vulnerability in WowThemes Mediumish, published on 1 Jun 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 search feature of the Mediumish WordPress theme through 1.0.47 does not properly sanitise it's 's' GET parameter before output it back the page, leading to the Cross-SIte Scripting issue.

Weakness: CWE-79

Which versions are affected by CVE-2021-24316?

It affects 1 product.

Products include Wowthemes Mediumish.

How do I fix CVE-2021-24316?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24316 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-9gxp-8w92-6cxw.

Is CVE-2021-24316 in your software?

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

Check your SBOMs for free