Listed
view_component: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in view_component
It is on record here. It does not touch anything Phylax follows closely.
Does it affect what I run?
view_component (RubyGems)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- view_component (RubyGems): from 2.31.0, before 2.31.2
- view_component (RubyGems): from 2.32.0, before 2.49.1
The fix
view_component (RubyGems) fixed in 2.31.2
bundlerbundle update --conservative view_componentCheck what is installedbundle info view_componentPaste into Cursor, Lovable or Claude CodeUpgrade the RubyGems dependency view_component to 2.31.2 or the nearest later release, to fix CVE-2022-24722. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.view_component (RubyGems) fixed in 2.49.1
bundlerbundle update --conservative view_componentCheck what is installedbundle info view_componentPaste into Cursor, Lovable or Claude CodeUpgrade the RubyGems dependency view_component to 2.49.1 or the nearest later release, to fix CVE-2022-24722. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "Listed".