CVE-2021-25932: OpenNMS - Stored Cross-Site Scripting
- Cve: CVE-2021-25932
- Name: OpenNMS - Stored Cross-Site Scripting
- Description: In OpenNMS Horizon, versions opennms-1-0-stable through opennms-27.1.0-1; OpenNMS Meridian, versions meridian-foundation-2015.1.0-1 through meridian-foundation-2019.1.18-1; meridian-foundation-2020.1.0-1 through meridian-foundation-2020.1.6-1 are vulnerable to Stored Cross-Site Scripting, since the function `validateFormInput()` performs improper validation checks on the input sent to the `userID` parameter. Due to this flaw an attacker could inject an arbitrary script which will be stored in the database.
- Impact: Attackers can inject and execute malicious scripts in users' browsers, leading to session hijacking or defacement.
- Remediation: Update to the latest version of OpenNMS where this issue is fixed or implement proper input validation and sanitization.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to send malicious input via userID parameter
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00926
- Epss percentile: 0.61367
- Assignee: [email protected]
- Published at: 2021-06-01T12:15:07Z
- Age in days: 2002
- Modified at: 2026-06-17T03:42:36Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25932
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25932 | nvd | 2021-06-01 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/OpenNMS/opennms/commit/8a97e6869d6e49da18b208c837438ace80049c01 | Patch, Third Party Advisory |
| https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c | Patch, Third Party Advisory |
| https://github.com/OpenNMS/opennms/commit/f3ebfa3da5352b4d57f238b54c6db315ad99f10e | Patch, Third Party Advisory |
| https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25932 | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opennms:meridian | >= 2020.1.0-1, <= 2020.1.6-1; >= 2015.1.0-1, <= 2019.1.18-1 | no | nvd | /v1/products/opennms/meridian |
| opennms:opennms | >= 1.0, <= 27.1.0-1 | no | nvd | /v1/products/opennms/opennms |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| opennms/opennms | commit | yes | /v1/repositories/opennms/opennms |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-06-01
- Remote: yes
- Authentication required: yes
- Exposed hosts: 903
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports