CVE-2021-40968: spotweb - Reflected XSS
- Cve: CVE-2021-40968
- Name: spotweb - Reflected XSS
- Description: 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.
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Update to the latest version of spotweb or sanitize user inputs properly.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.02239
- Epss percentile: 0.83282
- Assignee: [email protected]
- Published at: 2021-10-01T16:15:07Z
- Age in days: 1880
- Modified at: 2026-06-17T04:07:41Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40968
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-40968 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40968.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/spotweb/spotweb/issues/711 | nvd | 2021-10-01 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/spotweb/spotweb/issues/711 | nvd | Exploit, Issue Tracking, Third Party Advisory |
| https://github.com/spotweb/spotweb | nvd | Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40968.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| spotweb_project:spotweb | <= 1.5.1 | no | nvd | /v1/products/spotweb_project/spotweb |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| spotweb/spotweb | issues | yes | /v1/repositories/spotweb/spotweb |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-10-01
- Remote: yes
- Exposed hosts: 181
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports