Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. almirhodzic/nova-toggle-5
  4. ›
  5. GHSA-f5c8-m5vw-rmgq

GHSA-f5c8-m5vw-rmgq: nova-toggle-5: Improper authorization on toggle endpoint allowed non-Nova users to modify boolean fields

April 24, 2026

In versions < 1.3.0, the toggle endpoint (POST /nova-vendor/nova-toggle/toggle/{resource}/{resourceId}) was protected only by web + auth:<guard> middleware. Any user authenticated on the configured guard could call the endpoint and flip boolean attributes on any Nova resource — including users who do not have access to Nova itself (for example, frontend customers sharing the web guard with the Nova admin area).

The endpoint also accepted an arbitrary attribute parameter, which meant a valid caller could toggle any boolean column on the underlying model — not just columns exposed as Toggle fields on the resource.

References

  • github.com/advisories/GHSA-f5c8-m5vw-rmgq
  • github.com/almirhodzic/nova-toggle-5
  • github.com/almirhodzic/nova-toggle-5/blob/main/CHANGELOG.md
  • github.com/almirhodzic/nova-toggle-5/releases/tag/v1.3.0
  • github.com/almirhodzic/nova-toggle-5/security/advisories/GHSA-f5c8-m5vw-rmgq

Code Behaviors & Features

Detect and mitigate GHSA-f5c8-m5vw-rmgq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.0

Fixed versions

  • 1.3.0

Solution

Upgrade to version 1.3.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

packagist/almirhodzic/nova-toggle-5/GHSA-f5c8-m5vw-rmgq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 25 Apr 2026 00:18:59 +0000.