CVE-2023-40312 | Reflected XSS in multiple JSP files in opennms/opennms

Multiple reflected 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 an attacker can modify to craft a malicious XSS payload. 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: 2023-08-14 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-40312 is rated Low Risk (39.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.17%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-40312

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-09 0.15% 0.17% +0.02%
2 2025-11-21 0.26% 0.15% -0.11%
3 2025-11-18 0.26%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-40312

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.7 3.1 MEDIUM
CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:A)
Attacker has to be nearby on the network—same office, same link, that vibe—not the whole wide internet.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.5 5.2 [email protected]
5.2 3.1 MEDIUM
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:A)
Attacker has to be nearby on the network—same office, same link, that vibe—not the whole wide internet.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 2.7 [email protected]

Weakness enumeration for CVE-2023-40312

GitHub Security Advisory for CVE-2023-40312

GHSA-chgr-j2p9-jjh8 · Severity: medium · Ecosystem: maven — OpenNMS vulnerable to Cross-site Scripting

Affected software / configurations for CVE-2023-40312

Vendor Product Version Raw CPE
opennms horizon >= 31.0.8, < 32.0.2 cpe:2.3:a:opennms:horizon:*:*:*:*:*:*:*:*
opennms meridian < 2020.1.38 cpe:2.3:a:opennms:meridian:*:*:*:*:*:*:*:*
opennms meridian >= 2022.1.0, < 2022.1.19 cpe:2.3:a:opennms:meridian:*:*:*:*:*:*:*:*
opennms meridian >= 2023.1.0, < 2023.1.6 cpe:2.3:a:opennms:meridian:*:*:*:*:*:*:*:*

References for CVE-2023-40312

cvelogic Threat Intelligence