VDB
Sign up
MEDIUM6.1

GHSA-9mcw-mwxv-grwj

Craft CMS XSS Vulnerability

Quick fix

GHSA-9mcw-mwxv-grwj — craftcms/cms: upgrade to the fixed version with the command below.

composer require craftcms/cms:^2.6.2976

Details

Craft CMS before 2.6.2976 allows XSS attacks because an array returned by HttpRequestService::getSegments() and getActionSegments() need not be zero-based. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-8052.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/craftcms/cms
Introduced in: 0Fixed in: 2.6.2976
Fixcomposer require craftcms/cms:^2.6.2976

References