MediumGHSA-3jxh-789f-p7m6CVE-2021-27902
Craft CMS Cross-site Scripting Vulnerability
Published 2 Jul 2021 · Updated 16 Feb 2024
Is your project on an affected craftcms/cms?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
craftcms/cmsComposer
- Affected
- <3.6.0
- Fixed in
- 3.6.0
Update to the fixed version for your release line, for example:
composer require craftcms/cms:^3.6.0Details
An issue was discovered in Craft CMS before 3.6.0. In some circumstances, a potential XSS vulnerability existed in connection with front-end forms that accepted user uploads.
Is GHSA-3jxh-789f-p7m6 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 craftcms/cms, and gives you the command that fixes it.
More advisories for craftcms/cms
- CriticalCVE-2026-72780Craft CMS: Passkey login accepts replayed WebAuthn assertions · 7 Aug 2026
- MediumCVE-2026-72779Craft CMS: Arbitrary file read via SplFileObject in non-sandboxed template contexts · 6 Aug 2026
- MediumCVE-2026-72782Craft CMS: Authenticated leak of secret environment variables · 6 Aug 2026
- MediumCVE-2026-72785Craft CMS: Authorization bypass: view-only Categories user can modify category structure via structures/move-element · 6 Aug 2026
- MediumCVE-2026-14794Craft CMS: Missing authorization check allows non-admin control panel users access to user registration metrics · 6 Aug 2026
- LowCVE-2026-72783Craft CMS: Incorrect path validation could potentially lead to path traversal · 6 Aug 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.