CVE-2021-31858 Cross-site scripting in n/a

Medium 5.4 Published Updated

Authenticated users can inject arbitrary scripts into profile biographies, potentially leading to session hijacking or malicious actions on behalf of other users.

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

CVE-2021-31858 is a medium-severity cross-site scripting vulnerability in Dnnsoftware Dotnetnuke, published on 20 Jul 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

DotNetNuke (DNN) 9.9.1 CMS is vulnerable to a Stored Cross-Site Scripting vulnerability in the user profile biography section which allows remote authenticated users to inject arbitrary code via a crafted payload.

Weakness: CWE-79

Which versions are affected by CVE-2021-31858?

It affects 1 product.

Products include Dnnsoftware Dotnetnuke.

How do I fix CVE-2021-31858?

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

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

All Dnnsoftware Dotnetnuke vulnerabilities

Sources

Also known as GHSA-3xxp-73wf-27cp.

Is CVE-2021-31858 in your software?

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

Check your SBOMs for free