Vulnerability identifier: #VU68961
Vulnerability risk: Low
CVSSv3.1: 5.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-79
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
actionpack
Web applications /
Modules and components for CMS
Vendor: Ruby
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within the Action View tag helpers. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
actionpack: 0.9.0 - 0.9.5, 1.0.0 - 1.0.1, 1.1.0 - 1.13.6, 1.2.0, 1.3.0 - 1.3.1, 1.4.0, 1.5.0 - 1.5.1, 1.6.0, 1.7.0, 1.8.0 - 1.8.1, 1.9.0 - 1.9.1, 2.0.0 - 2.0.5, 2.1.0 - 2.1.2, 2.2.2 - 2.2.3, 2.3.2 - 2.3.18, 3.0.0 rc - 3.0.20, 3.1.0 rc1 - 3.1.12, 3.2.0 rc1 - 3.2.22.5, 4.0.0 rc1 - 4.0.13, 4.1.0 rc1 - 4.1.16, 4.2.0 rc1 - 4.2.11.3, 5.0.0.racecar1 - 5.0.7.2, 5.1.0 rc1 - 5.1.7, 5.2.0 rc1 - 5.2.7, 6.0.0 rc1 - 6.0.4.7, 6.1.0 rc1 - 6.1.5, 7.0.0 rc1 - 7.0.2.3
External links
http://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.