{"id":"CVE-2021-45822","aliases":["EUVD-2021-32540","GHSA-x247-hw6m-c9w4"],"status":"published","title":"A cross-site scripting vulnerability is present in Xbtit 3.1. The stored XSS vulnerability occurs...","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01055,"percentile":0.64661,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-03-16T15:26:46Z","modified":"2026-06-17T04:14:07Z","products":[{"vendor":"btiteam","product":"xbtit"}],"references":[{"url":"https://github.com/btiteam/xbtit-3.1","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://emaragkos.gr/infosec-adventures/xbtit-3-1-xss-stored-amp-reflected/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://github.com/btiteam/xbtit-3.1/issues/7","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45822"},{"url":"https://github.com/advisories/GHSA-x247-hw6m-c9w4"}],"sources":{"cve":[{"id":"CVE-2021-45822","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.","status":"published","published":"2022-03-16T15:26:46Z","modified":"2024-08-04T04:54:30.874Z","updated_at":"2026-11-02T14:33:02.580561Z"}],"euvd":[{"id":"EUVD-2021-32540","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.","status":"published","published":"2022-03-16T15:26:46Z","modified":"2024-08-04T04:54:30Z","updated_at":"2026-11-03T03:08:25.77408Z"}],"ghsa":[{"id":"GHSA-x247-hw6m-c9w4","title":"A cross-site scripting vulnerability is present in Xbtit 3.1. The stored XSS vulnerability occurs...","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.","status":"published","published":"2022-03-17T00:00:27Z","modified":"2023-01-27T05:00:44Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:41:44.25061Z"}],"nvd":[{"id":"CVE-2021-45822","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.","status":"published","published":"2022-03-16T16:15:10.757Z","modified":"2026-06-17T04:14:07.387Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:05.581807Z"}]}}
