{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/208680?format=json","vulnerability_id":"VCID-d24s-av2k-fkfb","summary":"Cross-site Scripting in @rocket.chat/livechat","aliases":[{"alias":"CVE-2022-21830"},{"alias":"GHSA-hf55-c445-2w97"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/20003?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.9.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.9.0"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/547849?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.1.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.1.3"},{"url":"http://public2.vulnerablecode.io/api/packages/547850?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.1.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.1.4"},{"url":"http://public2.vulnerablecode.io/api/packages/547851?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.1.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.1.6"},{"url":"http://public2.vulnerablecode.io/api/packages/547852?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/547853?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.2.1"},{"url":"http://public2.vulnerablecode.io/api/packages/547854?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.2.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/547855?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.2.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.2.3"},{"url":"http://public2.vulnerablecode.io/api/packages/547856?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.2.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.2.4"},{"url":"http://public2.vulnerablecode.io/api/packages/547857?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.2.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.2.5"},{"url":"http://public2.vulnerablecode.io/api/packages/547858?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/547859?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.3.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/547860?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/547861?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/547862?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.6.0"},{"url":"http://public2.vulnerablecode.io/api/packages/547863?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/547864?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.7.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.7.1"},{"url":"http://public2.vulnerablecode.io/api/packages/547865?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.7.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.7.2"},{"url":"http://public2.vulnerablecode.io/api/packages/547866?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.7.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.7.3"},{"url":"http://public2.vulnerablecode.io/api/packages/547867?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.7.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.7.4"},{"url":"http://public2.vulnerablecode.io/api/packages/547868?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.7.5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.7.5"},{"url":"http://public2.vulnerablecode.io/api/packages/547869?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.7.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.7.6"},{"url":"http://public2.vulnerablecode.io/api/packages/547870?format=json","purl":"pkg:npm/%40rocket.chat/livechat@1.8.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-d24s-av2k-fkfb"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540rocket.chat/livechat@1.8.0"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2022-21830","reference_id":"","reference_type":"","scores":[{"value":"0.00353","scoring_system":"epss","scoring_elements":"0.5818","published_at":"2026-06-12T12:55:00Z"},{"value":"0.00353","scoring_system":"epss","scoring_elements":"0.58066","published_at":"2026-06-11T12:55:00Z"},{"value":"0.00353","scoring_system":"epss","scoring_elements":"0.58185","published_at":"2026-06-14T12:55:00Z"},{"value":"0.00353","scoring_system":"epss","scoring_elements":"0.58197","published_at":"2026-06-13T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2022-21830"},{"reference_url":"https://github.com/RocketChat/Rocket.Chat.Livechat","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/RocketChat/Rocket.Chat.Livechat"},{"reference_url":"https://github.com/RocketChat/Rocket.Chat.Livechat/pull/558","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/RocketChat/Rocket.Chat.Livechat/pull/558"},{"reference_url":"https://github.com/RocketChat/Rocket.Chat.Livechat/releases/tag/v1.9.0","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/RocketChat/Rocket.Chat.Livechat/releases/tag/v1.9.0"},{"reference_url":"https://hackerone.com/reports/1091118","reference_id":"","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://hackerone.com/reports/1091118"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21830","reference_id":"CVE-2022-21830","reference_type":"","scores":[{"value":"6.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21830"},{"reference_url":"https://github.com/advisories/GHSA-hf55-c445-2w97","reference_id":"GHSA-hf55-c445-2w97","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-hf55-c445-2w97"}],"weaknesses":[{"cwe_id":79,"name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-d24s-av2k-fkfb"}