CVE-2021-31558: DIAEnergie - Stored Cross-Site Scripting
- Cve: CVE-2021-31558
- Name: DIAEnergie - Stored Cross-Site Scripting
- Description: DIAEnergie Version 1.7.5 and prior is vulnerable to stored cross-site scripting when an unauthenticated user injects arbitrary code into the parameter “descr” of the script “DIAE_hierarchyHandler.ashx”.
- Impact: Attackers can execute malicious scripts in the context of the application, potentially stealing cookies, session tokens, or performing actions on behalf of users.
- Remediation: Update to the latest version of DIAEnergie or sanitize input to prevent script injection.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, information_disclosure
- 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.10562
- Epss percentile: 0.95857
- Assignee: [email protected]
- Published at: 2021-12-22T19:15:11Z
- Age in days: 1798
- Modified at: 2026-06-17T03:52:00Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-31558
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://www.cisa.gov/uscert/ics/advisories/icsa-21-238-03 | nvd | Third Party Advisory, US Government Resource |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| deltaww:diaenergie | <= 1.7.5 | no | nvd | /v1/products/deltaww/diaenergie |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts