Live threats

All CVEs / Craftcms

CVE-2021-27902Craftcms Craft Cms

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Jun 30, 2021
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms < 3.6.0 3.6.0 composer require "craftcms/cms:^3.6.0"

Per OSV / GitHub Advisories (GHSA-3jxh-789f-p7m6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms< 3.6.0

Official sources

References

Links published by the sources. Open them with care.