CVE-2021-45822 Cross-site scripting in n/a
Stored XSS in Xbtit allows attackers to execute malicious JavaScript via the chat data endpoint, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-45822?
CVE-2021-45822 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A cross-site scripting vulnerability is present in Xbtit 3.1. The stored XSS vulnerability occurs because /ajaxchat/sendChatData.php does not properly validate the value of the "n" (POST) parameter. Through this vulnerability, an attacker is capable to execute malicious JavaScript code.
Weakness: CWE-79
Which versions are affected by CVE-2021-45822?
It affects 1 product.
Products include Btiteam Xbtit.
How do I fix CVE-2021-45822?
No fix has been published for CVE-2021-45822 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-45822 being exploited?
There is no known exploitation of CVE-2021-45822 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-x247-hw6m-c9w4.