VDB
Sign up
MEDIUM5.4

GHSA-v24p-7p4j-qvvf

Contao: Cross site scripting in the file manager

Quick fix

GHSA-v24p-7p4j-qvvf — contao/core-bundle: upgrade to the fixed version with the command below.

composer require contao/core-bundle:^4.13.40

Details

### Impact

Users can insert malicious code into file names when uploading files, which is then executed in tooltips and popups in the backend.

### Patches

Update to Contao 4.13.40 or Contao 5.3.4.

### Workarounds

Disable uploads for untrusted users.

### References

https://contao.org/en/security-advisories/cross-site-scripting-in-the-file-manager

### For more information

If you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).

### Credits

Thanks to Alexander Wuttke for reporting this vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/contao/core-bundle
Introduced in: 4.0.0Fixed in: 4.13.40
Fixcomposer require contao/core-bundle:^4.13.40
Packagist/contao/core-bundle
Introduced in: 5.0.0-RC1Fixed in: 5.3.4
Fixcomposer require contao/core-bundle:^5.3.4

References