CVE-2021-31858 Cross-site scripting in n/a
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.
Other vulnerabilities in Dnnsoftware Dotnetnuke
- CVE-2017-9822 DotNetNuke (DNN) Remote Code Execution
- CVE-2018-15811 DotNetNuke (DNN) Inadequate Encryption Strength
- CVE-2018-18325 DotNetNuke (DNN) Inadequate Encryption Strength
- CVE-2025-64095 DNN Insufficient Access Control - Image Upload allows for Site Content Overwrite
- CVE-2006-3601 Privilege escalation in n/a
Sources
Also known as GHSA-3xxp-73wf-27cp.