CVE-2023-40311
MEDIUM 4.8CVSS 3.1OpenNMS vulnerable to Cross-site Scripting
Multiple stored XSS were found on different JSP files with unsanitized parameters in OpenMNS Horizon 31.0.8 and versions earlier than 32.0.2 on multiple platforms that allow an attacker to store on database and then load on JSPs or Angular templates. The solution is to upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38 or Horizon 32.0.2 or newer. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet. OpenNMS thanks Jordi Miralles Comins for reporting this issue.
- Published
- 14 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@opennms.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-qfw7-pfxx-h9q2
- Sources
- NVDJSONOSV GHSA-qfw7-pfxx-h9q2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@opennms.com (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opennms | horizoncpe:2.3:a:opennms:horizon:*:*:*:*:*:*:*:* |
>= 31.0.8, < 32.0.2 | 32.0.2 |
| NVD | opennms | meridiancpe:2.3:a:opennms:meridian:*:*:*:*:*:*:*:* |
< 2020.1.38 | 2020.1.38 |
| NVD | opennms | meridiancpe:2.3:a:opennms:meridian:*:*:*:*:*:*:*:* |
>= 2022.1.0, < 2022.1.19 | 2022.1.19 |
| NVD | opennms | meridiancpe:2.3:a:opennms:meridian:*:*:*:*:*:*:*:* |
>= 2023.1.0, < 2023.1.6 | 2023.1.6 |
| OSV | Maven | org.opennms:opennms-webapp | >= 31.0.8, < 32.0.2 | 32.0.2 |
References
- https://github.com/OpenNMS/opennms · Product, PACKAGE
- https://github.com/OpenNMS/opennms/pull/6365 · Patch, Vendor Advisory, WEB
- https://github.com/OpenNMS/opennms/pull/6366 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40311 · ADVISORY
- https://github.com/OpenNMS/opennms/commit/6ccc5de1a23d440560e0f09dfd94f8392c21e70d · WEB
- https://github.com/OpenNMS/opennms/commit/c67d1cae2fa1fb806c9d422f6e6fbf4ebfde6b60 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Aug 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Aug 2023)