Advisory

GHSA-4gpr-p634-922x

Also known as: CVE-2023-36806

Summary

Cross site scripting via input unit widget

Details

Impact

Authenticated users can inject malicious code in widgets with units, which is then executed both in the element preview (back end) and on the website (front end).

Patches

Update to Contao 4.9.42, 4.13.28 or 5.1.10.

Workarounds

Disable login for all untrusted back end users.

References

https://contao.org/en/security-advisories/cross-site-scripting-in-widgets-with-units

For more information

If you have any questions or comments about this advisory, open an issue in contao/contao.

Credits

Thanks to Christian Pöschl and Fabian Brenner from usd AG for reporting this vulnerability.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-07-25 17:19 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

contao/core-bundle

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.9.42 (ecosystem)

Fixed versions

4.9.42

Fix

The export has no generic command for this ecosystem.

contao/core-bundle

Packagist · All systems

Affected

  • introduced 4.10.0, fixed 4.13.28 (ecosystem)

Fixed versions

4.13.28

Fix

The export has no generic command for this ecosystem.

contao/core-bundle

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.1.10 (ecosystem)

Fixed versions

5.1.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences