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-2024-21636

19
FAUCET Score

CVE-2024-21636 is a Cross-Site Scripting (XSS) vulnerability affecting the view_component gem in Ruby on Rails, specifically versions prior to 3.9.0 and 2.83.0. It arises when components defining a #call method or using #output_postamble are rendered directly from a controller, as their return values are not sanitized and can include user-defined content. Rated as MEDIUM severity (CVSS 6.1), this vulnerability requires user interaction (UI:R) and could lead to limited confidentiality and integrity impacts (C:L/I:L). There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.83.0CPE matchmatch criteria
cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:*
>= 3.0.0, < 3.9.0CPE matchmatch criteria
cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:*

CVSS Data

CVSS version used by this source: 3.1

6.1MEDIUM

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

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

Exploit Intelligence

EPSS Score
0.50%
Probability of exploitation in next 30 days
EPSS Percentile
39.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0050 is in the 42nd percentile among its peer group of 26,221 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: 3.9.0
rubygemspatch availablevia ghsa
Product: view_componentFixed in: 2.83.0

Vendor Advisories (1)

rubygemsGHSA-wf2x-8w6j-qw37medium

view_component Cross-site Scripting vulnerability

Jan 4, 2024

References

github.com / ViewComponent/view_component/commit/0d26944a8d2730ea40e60eae23d70684483e5017
Patch
github.com / ViewComponent/view_component/commit/c43d8bafa7117cbce479669a423ab266de150697
Patch
github.com / ViewComponent/view_component/pull/1950
ExploitIssue TrackingPatch
github.com / ViewComponent/view_component/pull/1962
Issue Tracking
github.com / ViewComponent/view_component/security/advisories/GHSA-wf2x-8w6j-qw37
Vendor Advisory