CVE-2023-40311 json
Stored XSS in multiple JSP files in opennms/opennms
published 2023-08-14 3 y ago modified 2026-06-17 4 mo ago also GHSA-qfw7-pfxx-h9q2 , EUVD-2023-2338
- cvss
- 6.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.opennms:opennms-webapp 32.0.2
- The OpenNMS Group Horizon 32.0.2
- github.com/OpenNMS/opennms@6ccc5de commit
- github.com/OpenNMS/opennms@c67d1ca commit
- github.com/OpenNMS/opennms#6365 pull request
- github.com/OpenNMS/opennms#6366 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.7 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 4.8 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.7 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.opennms:opennms-webapp | >=31.0.8, <32.0.2 |
32.0.2 |
Affected products
- The OpenNMS Group Horizon
- The OpenNMS Group Meridian
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/OpenNMS/opennms/pull/6365
web, patch, vendor-advisory
-
github.com
/OpenNMS/opennms/pull/6366
web, patch, vendor-advisory
-
github.com
/OpenNMS/opennms/commit/6ccc5de1a23d440560e0f09dfd94f8392c21e70d
web
-
github.com
/OpenNMS/opennms/commit/c67d1cae2fa1fb806c9d422f6e6fbf4ebfde6b60
web
-
github.com
/OpenNMS/opennms
package, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-40311
advisory
Sources
- CVE List CVE-2023-40311
- GitHub Advisory GHSA-qfw7-pfxx-h9q2
- NVD CVE-2023-40311
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.