HighGHSA-84px-q68r-2fc9CVE-2021-43835

Privilege escalation in the Sulu Admin panel

Published 15 Dec 2021 · Updated 8 Jul 2026

Is your project on an affected sulu/sulu?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

sulu/suluComposer
Affected
>=2.0.0 <2.2.18
Fixed in
2.2.18
Update to the fixed version for your release line, for example:composer require sulu/sulu:^2.2.18
sulu/suluComposer
Affected
>=2.3.0 <2.3.8
Fixed in
2.3.8
Update to the fixed version for your release line, for example:composer require sulu/sulu:^2.3.8
sulu/suluComposer
Affected
>=2.4.0-RC1 <2.4.0
Fixed in
2.4.0
Update to the fixed version for your release line, for example:composer require sulu/sulu:^2.4.0

Details

Impact

Impacted are only users which already have access to the admin UI. Over the API it was possible for them to give themselves permissions to areas which they did not already had. This issue was introduced in 2.0.0-RC1 with the new ProfileController putAction.

Patches

The versions have been patched in 2.2.18, 2.3.8 and 2.4.0.

Workarounds

Patching the ProfileController of affected sulu versions yourself by overwriting it.

References

_Are there any links users can visit to find out more?_

Currently not.

For more information

If you have any questions or comments about this advisory:

  • Open an issue in sulu/sulu repo
  • Email us at [security@sulu.io](mailto:security@sulu.io)

Is GHSA-84px-q68r-2fc9 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected sulu/sulu, and gives you the command that fixes it.

More advisories for sulu/sulu

  • MediumCVE-2026-92692Sulu: JCR-SQL2 injection via `categories` query parameter (unauthenticated) · 23 Sept 2026
  • MediumCVE-2026-82396Sulu: Stored XSS via media download inline-disposition override · 2 Sept 2026
  • MediumCVE-2026-82394Sulu: Fix authorization bypass when creating preview links · 2 Sept 2026
  • MediumCVE-2026-82395Sulu: Media move/update authorization bypass (IDOR) · 2 Sept 2026
  • LowGHSA-9m6v-8fxc-4r44Sulu: Used API Keys may be available via Admin API · 18 May 2026
  • MediumCVE-2026-45701Sulu: Weak Cryptographical usage for API Key generation and Reset Tokens · 18 May 2026
All 18 advisories for sulu/sulu

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.