CVE-2021-24597 You Shang <= 1.0.1 - Authenticated Stored Cross-Site Scripting

Medium 5.4 Published Updated

Authenticated attackers can inject malicious scripts via qrcode settings, leading to stored XSS in frontend posts and admin pages.

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

What is CVE-2021-24597?

CVE-2021-24597 is a medium-severity cross-site scripting vulnerability in Unknown 有赏 You Shang, published on 20 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The You Shang WordPress plugin through 1.0.1 does not escape its qrcode links settings, which result into Stored Cross-Site Scripting issues in frontend posts and the plugins settings page depending on the payload used

Weakness: CWE-79

Which versions are affected by CVE-2021-24597?

It affects 1 product.

Products include You-Shang Project You-Shang.

How do I fix CVE-2021-24597?

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

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

Sources

Also known as GHSA-8wgc-q9r2-hg5h.

Is CVE-2021-24597 in your software?

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

Check your SBOMs for free