VDB
Sign up
HIGH7.2

GHSA-m8x6-6r63-qvj2

Cross site scripting via canonical tag in Contao

Quick fix

GHSA-m8x6-6r63-qvj2 — contao/core-bundle: upgrade to the fixed version with the command below.

composer require contao/core-bundle:^4.13.3

Details

### Impact

Untrusted users can inject malicious code into the canonical tag, which is then executed on the web page (front end).

### Patches

Update to Contao 4.13.3.

### Workarounds

Disable canonical tags in the root page settings.

### References

https://contao.org/en/security-advisories/cross-site-scripting-via-canonical-url

### 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).

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/contao/core-bundle
Introduced in: 4.13.0Fixed in: 4.13.3
Fixcomposer require contao/core-bundle:^4.13.3
Packagist/contao/contao
Introduced in: 4.13.0Fixed in: 4.13.3
Fixcomposer require contao/contao:^4.13.3

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"]}'