CVE-2021-44120 Cross-site scripting in n/a
An editor can inject malicious scripts via personal information fields, leading to code execution when users view author details.
- 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
- Available
What is CVE-2021-44120?
CVE-2021-44120 is a medium-severity cross-site scripting vulnerability in Spip Spip, published on 26 Jan 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
SPIP 4.0.0 is affected by a Cross Site Scripting (XSS) vulnerability in ecrire/public/interfaces.php, adding the function safehtml to the vulnerable fields. An editor is able to modify his personal information. If the editor has an article written and available, when a user goes to the public site and wants to read the author's information, the malicious code will be executed. The "Who are you" and "Website Name" fields are vulnerable.
Weakness: CWE-79
Which versions are affected by CVE-2021-44120?
It affects 1 product.
Products include Spip Spip.
How do I fix CVE-2021-44120?
Apply the vendor's patch.
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-44120 being exploited?
There is no known exploitation of CVE-2021-44120 in the wild and no public exploit code.
Other vulnerabilities in Spip Spip
Sources
Also known as DEBIAN-CVE-2021-44120, GHSA-2v2h-p3pv-rrr5, UBUNTU-CVE-2021-44120.