CVE-2021-24481 Any Hostname <= 1.0.6 - Authenticated Stored Cross-Site Scripting (XSS)

Medium 4.8 Published Updated

Authenticated high-privilege users can inject stored XSS payloads via the Allowed hosts setting in the Any Hostname WordPress plugin.

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

CVE-2021-24481 is a medium-severity cross-site scripting vulnerability in Unknown Any Hostname, published on 2 Aug 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Any Hostname WordPress plugin through 1.0.6 does not sanitise or escape its "Allowed hosts" setting, leading to an authenticated stored XSS issue as high privilege users are able to set XSS payloads in it

Weakness: CWE-79

Which versions are affected by CVE-2021-24481?

It affects 1 product.

Products include Any Hostname Project Any Hostname.

How do I fix CVE-2021-24481?

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

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

Sources

Also known as GHSA-3xf9-4gwf-w55x.

Is CVE-2021-24481 in your software?

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

Check your SBOMs for free