VDB
Sign up
LOW3.3

GHSA-68q5-78xp-cwwc

Contao is vulnerable to cross-site scripting in templates

Quick fix

GHSA-68q5-78xp-cwwc — contao/core-bundle: upgrade to the fixed version with the command below.

composer require contao/core-bundle:^4.13.57

Details

### Impact

It is possible to inject code into the template output that will be executed in the browser in the front end and back end.

### Patches

Update to Contao 4.13.57, 5.3.42 or 5.6.5.

### Workarounds

Do not use the affected templates or patch them manually.

### Refsources

https://contao.org/en/security-advisories/cross-site-scripting-in-templates

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.57
Fixcomposer require contao/core-bundle:^4.13.57
Packagist/contao/core-bundle
Introduced in: 5.0.0-RC1Fixed in: 5.3.42
Fixcomposer require contao/core-bundle:^5.3.42
Packagist/contao/core-bundle
Introduced in: 5.4.0-RC1Fixed in: 5.6.5
Fixcomposer require contao/core-bundle:^5.6.5

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/contao/core-bundle"]}'