VDB
Sign up
—0.0

GHSA-m7gw-rffq-rxjm

Winter CMS has Stored Cross-site Scripting (XSS) in Asset Manager

Quick fix

GHSA-m7gw-rffq-rxjm — winter/wn-cms-module: upgrade to the fixed version with the command below.

composer require winter/wn-cms-module:^1.2.10

Details

## Impact Affected versions of Winter CMS allow users with access to the CMS Asset Manager were able to upload SVGs without automatic sanitization.

To actively exploit this security issue, an attacker would need access to the Backend with a user account with the following permission: `cms.manage_assets`

The Winter CMS maintainers strongly recommend that the `cms.manage_assets` permission only be reserved to trusted administrators and developers in general.

## Patches Sanitization of SVG assets is now applied automatically when uploading through the CMS Asset Manager.

This security issue has been fixed as of https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65.

## Workarounds If users cannot upgrade, they may apply commit https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65 to their Winter CMS installation manually to resolve this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/winter/wn-cms-module
Introduced in: 0Fixed in: 1.2.10
Fixcomposer require winter/wn-cms-module:^1.2.10

References