Vulnerability · Published May 26, 2022 · Assigned by hackerone
CVE-2022-27777
Medium 6.1
In plain English
A medium-severity cross-site scripting in https://github.com/rails/rails. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.7%top 23.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:6.1.6.1+dfsg-1 | DEBIAN-CVE-2022-27777 |
| Debian:13 | rails | 2:6.1.6.1+dfsg-1 | DEBIAN-CVE-2022-27777 |
| Debian:14 | rails | 2:6.1.6.1+dfsg-1 | DEBIAN-CVE-2022-27777 |
| RubyGems | actionview | 7.0.2.4 | GHSA-ch3h-j2vf-95pv |
| RubyGems | actionview | 5.2.7.1 | GHSA-ch3h-j2vf-95pv |
| RubyGems | actionview | 6.0.4.8 | GHSA-ch3h-j2vf-95pv |
| RubyGems | actionview | 6.1.5.1 | GHSA-ch3h-j2vf-95pv |
| Ubuntu:24.04:LTS | rails | no fix listed | UBUNTU-CVE-2022-27777 |
| Ubuntu:25.10 | rails | no fix listed | UBUNTU-CVE-2022-27777 |
| Ubuntu:26.04:LTS | rails | no fix listed | UBUNTU-CVE-2022-27777 |
| Ubuntu:26.10 | rails | no fix listed | UBUNTU-CVE-2022-27777 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/rails/rails | 7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1 |
Weakness: CWE-79