Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-24722

21
FAUCET Score

CVE-2022-24722 is a cross-site scripting (XSS) vulnerability affecting ViewComponent, a Ruby on Rails framework, in versions prior to 2.31.2 and 2.49.1. This flaw allows unsanitized user input passed to the `translate` method to be displayed, potentially impacting users of the view_component gem. Rated Medium with a CVSS score of 6.1, the vulnerability requires user interaction (UI:R) and could lead to low impact on confidentiality and integrity (C:L/I:L). Currently, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.31.0, < 2.31.2CPE matchmatch criteria
cpe:2.3:a:github:viewcomponent:*:*:*:*:*:ruby_on_rails:*:*
>= 2.32.0, < 2.49.1CPE matchmatch criteria
cpe:2.3:a:github:viewcomponent:*:*:*:*:*:ruby_on_rails:*:*

CVSS Data

CVSS version used by this source: 3.1

8.1HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
5.2
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.09%
Probability of exploitation in next 30 days
EPSS Percentile
61.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0109 is in the 75th percentile among its peer group of 26,219 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

github_advisorypatch availablevia nvd_reference
View patch
rubygemspatch availablevia ghsa
Product: view_componentFixed in: 2.31.2
rubygemspatch availablevia ghsa
Product: view_componentFixed in: 2.49.1

Vendor Advisories (1)

rubygemsGHSA-cm9w-c4rj-r2cfhigh

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in view_component

Mar 2, 2022

References

github.com / github/view_component/commit/3f82a6e62578ff6f361aba24a1feb2caccf83ff9
PatchThird Party Advisory
github.com / github/view_component/releases/tag/v2.31.2
Third Party Advisory
github.com / github/view_component/releases/tag/v2.49.1
Third Party Advisory
github.com / github/view_component/security/advisories/GHSA-cm9w-c4rj-r2cf
Third Party Advisory