#VU68961 Cross-site scripting in actionpack


Published: 2022-11-03

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: CVE-2022-27777

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: 5.2.0 - 5.2.7, 6.1.0 - 6.1.5, 7.0.0 - 7.0.2.3, 6.0.0 - 6.0.4.7, 5.1.0 - 5.1.7 rc1, 5.0.0 - 5.0.7.2, 4.2.0 - 4.2.11.3, 4.1.0 - 4.1.16 rc1, 4.0.0 - 4.0.13 rc1, 3.2.0 - 3.2.22.5, 3.1.0 - 3.1.12, 3.0.0 - 3.0.20, 2.3.2 - 2.3.18, 2.2.2 - 2.2.3, 2.1.0 - 2.1.2, 2.0.0 - 2.0.5, 1.13.0 - 1.13.6, 1.12.0 - 1.12.5, 1.11.0 - 1.11.2, 1.10.1 - 1.10.2, 1.9.0 - 1.9.1, 1.8.0 - 1.8.1, 1.7.0, 1.6.0, 1.5.0 - 1.5.1, 1.4.0, 1.3.0 - 1.3.1, 1.2.0, 1.1.0, 1.0.0 - 1.0.1, 0.9.0 - 0.9.5


External links
http://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534


Q & A

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.


Latest bulletins with this vulnerability