Approved changes feed: RSS · Atom

cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:*

part: a version: * update: *

VendorViewcomponent (5f150c96-079f-59f9-b685-13aac59bbe99)
ProductView Component (1cd769ab-868b-5000-9d14-d0b581d7a51a)
Edition*
Language*
Software edition*
Target softwareruby
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2024-21636 vulnerable 2026-06-08 06:27:36.262813 view_component Cross-site Scripting vulnerability
MEDIUM (6.1)
view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. Versions prior to 3.9.0 and 2.83.0 have a cross-site scripting vulnerability that has the potential to impact anyone rendering a component directly from a controller with the view_component gem. Note that only components that define a `#call` method (i.e. instead of using a sidecar template) are affected. The return value of the `#call` method is not sanitized and can include user-defined content. In addition, the return value of the `#output_postamble` methodis not sanitized, which can also lead to cross-site scripting issues. Versions 3.9.0 and 2.83.0 have been released and fully mitigate both the `#call` and the `#output_postamble` vulnerabilities. As a workaround, sanitize the return value of `#call`.
Published: 2024-01-04T20:09:08.564Z
Updated: 2025-06-17T20:29:11.989Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.