# CVE-2023-36806: Contao cross site scripting vulnerability via input unit widget

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-25T17:19:10.000Z
- Modified: 2026-09-10T03:49:42.581Z
- Also known as: GHSA-4gpr-p634-922x
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Contao is an open source content management system. Starting in version 4.0.0 and prior to versions 4.9.42, 4.13.28, and 5.1.10, it is possible for untrusted backend users to inject malicious code into headline fields in the back end, which will be executed both in the element preview (back end) and on the website (front end). Installations are only affected if there are untrusted back end users who have the rights to modify headline fields, or other fields using the input unit widget. Contao 4.9.42, 4.13.28, and 5.1.10 have a patch for this issue. As a workaround, disable the login for all untrusted back end users.

(As written by CVE List.)

## Affected

- contao contao: >= 4.0.0, < 4.9.42; >= 4.10.0, < 4.13.28; >= 5.0.0, < 5.1.10; up to 4.0.0; before 4.9.42; up to 4.10.0; before 4.13.28; up to 5.0.0; before 5.1.10; from 4.0.0 before 4.9.42; from 4.10.0 before 4.13.28; from 5.0.0 before 5.1.10
- contao/core-bundle (Packagist): from 4.0.0 before 4.9.42; from 4.10.0 before 4.13.28; from 5.0.0 before 5.1.10

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://herolab.usd.de/security-advisories/usd-2023-0020/> (exploit, third-party-advisory)
- <https://github.com/contao/contao/security/advisories/GHSA-4gpr-p634-922x> (vendor-advisory, web)
- <https://github.com/contao/contao/commit/5c9aff32cfc1f7dc452a045862ac2f86a6b9b4b4> (patch, web)
- <https://github.com/contao/contao/commit/c98585d36baa25fda69c062421e7e7eadc53c82b> (patch, web)
- <https://github.com/contao/contao/commit/ccb64c777eb0f9c0e6490c9135d80e915d37cd32> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-36806> (advisory)
- <https://github.com/contao/contao> (package)
- <https://herolab.usd.de/security-advisories/usd-2023-0020> (web)

## Sources

- CVE List: [CVE-2023-36806](https://www.cve.org/CVERecord?id=CVE-2023-36806), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-4gpr-p634-922x](https://github.com/advisories/GHSA-4gpr-p634-922x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-36806](https://nvd.nist.gov/vuln/detail/CVE-2023-36806), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-36806 · Whole record: https://cve.day/CVE-2023-36806.json · Rebuilt by cve.day 2026-11-25T22:58:26.492Z
