Skip to content

Bump view_component from 4.8.0 to 4.9.0 in /demo#4066

Merged
liuliu-dev merged 1 commit into
mainfrom
dependabot/bundler/demo/view_component-4.9.0
May 11, 2026
Merged

Bump view_component from 4.8.0 to 4.9.0 in /demo#4066
liuliu-dev merged 1 commit into
mainfrom
dependabot/bundler/demo/view_component-4.9.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 9, 2026

Bumps view_component from 4.8.0 to 4.9.0.

Release notes

Sourced from view_component's releases.

4.9.0

  • Fix path traversal vulnerability in ViewComponentsSystemTestController where sibling directories sharing a string prefix with the allowed temp directory could bypass the path containment check. The start_with? check has been replaced with a separator-aware prefix check, and nefarious path errors now return a 404 instead of an unhandled exception.

    Joel Hawksley

  • Fix preview route vulnerability where inherited methods on ViewComponent::Preview (such as render_with_template) could be invoked via the preview URL, allowing arbitrary internal Rails templates to be rendered with attacker-controlled locals and request parameters. render_args now raises AbstractController::ActionNotFound for any example not explicitly declared on the preview subclass.

    Joel Hawksley

  • Add yard-lint to CI.

    Joel Hawksley

Changelog

Sourced from view_component's changelog.

4.9.0

  • Fix path traversal vulnerability in ViewComponentsSystemTestController where sibling directories sharing a string prefix with the allowed temp directory could bypass the path containment check. The start_with? check has been replaced with a separator-aware prefix check, and nefarious path errors now return a 404 instead of an unhandled exception.

    Joel Hawksley

  • Fix preview route vulnerability where inherited methods on ViewComponent::Preview (such as render_with_template) could be invoked via the preview URL, allowing arbitrary internal Rails templates to be rendered with attacker-controlled locals and request parameters. render_args now raises AbstractController::ActionNotFound for any example not explicitly declared on the preview subclass.

    Joel Hawksley

  • Add yard-lint to CI.

    Joel Hawksley

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [view_component](https://github.com/viewcomponent/view_component) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases)
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md)
- [Commits](ViewComponent/view_component@v4.8.0...v4.9.0)

---
updated-dependencies:
- dependency-name: view_component
  dependency-version: 4.9.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added bundler Gemfile dependencies dependencies Pull requests that update a dependency file skip changeset Pull requests that don't change the library output labels May 9, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 9, 2026 00:03
@dependabot dependabot Bot requested a review from liuliu-dev May 9, 2026 00:03
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file skip changeset Pull requests that don't change the library output bundler Gemfile dependencies labels May 9, 2026
@liuliu-dev liuliu-dev merged commit f26234f into main May 11, 2026
52 checks passed
@liuliu-dev liuliu-dev deleted the dependabot/bundler/demo/view_component-4.9.0 branch May 11, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bundler Gemfile dependencies dependencies Pull requests that update a dependency file skip changeset Pull requests that don't change the library output

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant