GHSA-f7wm-x4gw-6m23
Contao Insert tag injection in forms
Quick fix
GHSA-f7wm-x4gw-6m23 — contao/core-bundle: upgrade to the fixed version with the command below.
composer require contao/core-bundle:^4.4.52Details
### Impact
It is possible to inject insert tags in front end forms which will be replaced when the page is rendered.
### Patches
Update to Contao 4.4.52, 4.9.6 or 4.10.1.
### Workarounds
Disable the front end login form and do not use form fields with array keys such as `fieldname[]`.
### References
https://contao.org/en/security-advisories/insert-tag-injection-in-forms
### 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
4.0.0Fixed in: 4.4.52composer require contao/core-bundle:^4.4.524.5.0Fixed in: 4.9.6composer require contao/core-bundle:^4.9.64.0.0Fixed in: 4.4.52composer require contao/contao:^4.4.524.10.0Fixed in: 4.10.1composer require contao/contao:^4.10.14.10.0Fixed in: 4.10.1composer require contao/core-bundle:^4.10.1References
- https://github.com/contao/contao/security/advisories/GHSA-f7wm-x4gw-6m23[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2020-25768[ADVISORY]
- https://community.contao.org/en/forumdisplay.php?4-Announcements[WEB]
- https://contao.org/en/security-advisories/insert-tag-injection-in-forms.html[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2020-25768.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2020-25768.yaml[WEB]
- https://github.com/contao/contao[PACKAGE]
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"]}'