# CVE-2022-27777: XSS Vulnerability in Action View tag helpers

Source: https://junglewise.ai/threats/cve-2022-27777-xss-vulnerability-in-action-view-tag-helpers  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-04-27  
License: CC BY 4.0 with a link back

CVE-2022-27777 · Severity: low · CVSS 3.1 · Published 2022-04-27

XSS Vulnerability in Action View tag helpers

Technologies: [actionview (RubyGems)](https://junglewise.ai/threats/technologies/actionview). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2022-27777 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-27777 being exploited in the wild.

**How severe is CVE-2022-27777?** Low severity, with a CVSS score of 3.1, published 27 April 2022.

**Which products and versions are affected?** actionview (RubyGems) ECOSYSTEM:introduced=0,fixed=5.2.7.1.

**Is there a fix for CVE-2022-27777?** Yes. actionview (RubyGems): upgrade to 5.2.7.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-27777?** Check whether you run actionview (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- actionview (RubyGems): upgrade to 5.2.7.1 or later

  ```sh
  bundle update actionview
  ```


## Affected products

- actionview (RubyGems) ECOSYSTEM:introduced=0,fixed=5.2.7.1

## Identifiers

- CVE-2022-27777
- GHSA-ch3h-j2vf-95pv

## Related threats

- [Rails Action View XSS via HTML5 sanitizer in text helpers](https://junglewise.ai/threats/cve-2026-126079-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails Action View TextHelper highlight XSS](https://junglewise.ai/threats/cve-2026-126078-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails Action View strip_tags XSS in HTML attributes](https://junglewise.ai/threats/cve-2026-126070-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Ruby on Rails Action View XSS in tag helpers via whitespace attribute names](https://junglewise.ai/threats/cve-2026-126069-action-view-is-a-framework-for-handling-view-template-lookup-and)
- [Rails has a possible XSS vulnerability in its Action View tag helpers](https://junglewise.ai/threats/cve-2026-33168-rails-has-a-possible-xss-vulnerability-in-its-action-view-tag)
