medium6.1
CVE-2026-126070
Action View: Possible XSS vulnerability in strip_tags
Impact
Action View: Possible XSS vulnerability in strip_tags
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | actionview | >= 8.1.0.beta1, < 8.1.4.1 | 8.1.4.1 |
Affected products · Rails
| Product | Affected versions |
|---|---|
| Rails | before 8.0.5.2 from 8.1, before 8.1.4.1 Version < 8.0.5.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/rails/rails/security/advisories/GHSA-rq8q-p985-fjq7
- https://github.com/rails/rails/commit/568b19cb860322885593e308a7f27aceb779e9d7
- https://github.com/rails/rails/commit/c3772a10f405f9644125cbb484adfd2aa7a25a59
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/advisories/GHSA-rq8q-p985-fjq7
- https://nvd.nist.gov/vuln/detail/CVE-2026-126070
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/GHSA-rq8q-p985-fjq7.yml