# CVE-2021-45822: A cross-site scripting vulnerability is present in Xbtit 3.1.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-03-16T15:26:46.000Z
- Modified: 2026-06-17T04:14:07.387Z
- Weaknesses: CWE-79
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- btiteam xbtit: 3.1

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://emaragkos.gr/infosec-adventures/xbtit-3-1-xss-stored-amp-reflected/> (exploit, third-party-advisory)
- <https://github.com/btiteam/xbtit-3.1/issues/7> (exploit, third-party-advisory)
- <https://github.com/btiteam/xbtit-3.1> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-45822](https://www.cve.org/CVERecord?id=CVE-2021-45822), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45822](https://nvd.nist.gov/vuln/detail/CVE-2021-45822), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45822 · Whole record: https://cve.day/CVE-2021-45822.json · Rebuilt by cve.day 2026-11-25T22:58:07.227Z
