medium6.1
CVE-2026-126078
Action View: Possible XSS vulnerability in highlight helper
Impact
Action View: Possible XSS vulnerability in highlight helper
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-v6rj-xm57-3p59
- https://github.com/rails/rails/commit/06938194b4fd59e1d2c8ab4a781f3c1e2b763425
- https://github.com/rails/rails/commit/c796f6198837479ada13290eb8fa767b5219a58a
- 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-v6rj-xm57-3p59
- https://nvd.nist.gov/vuln/detail/CVE-2026-126078
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/GHSA-v6rj-xm57-3p59.yml