view_component: Preview Route Can Dispatch Inherited Helper Methods — CVE-2026-44836
GHSA · GitHub · CVE-2026-44836
ID
CVE-2026-44836
CVE-2026-44836
Datum
Aktualisiert
Activity
Quelle
GHSA
GHSA
Vendor
GitHub
GitHub
Risiko
medium
medium
CVSS
6.5
6.5
Zusammenfassung
### Summary The preview route derives an example name from the URL and calls it with `public_send`. The code does not verify that the requested method is one of the preview examples explicitly defined by the preview class. As a result, inherited public methods on `ViewComponent::Preview` are route-reachable. The most important one is `render_with_template`, which accepts `template:` and `locals:`. Those values can…
Produkt
rubygems: view_component
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Prüfe Exponierung und plane Maßnahmen nach Risiko und Umfeld.
- Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
- Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
- Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.