{"id":"GHSA-jjhw-5mxp-2g2q","summary":"Cross-site Scripting in OpenNMS Horizon","details":"In OpenNMS Horizon, versions opennms-1-0-stable through opennms-27.1.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 `groupName` and `groupComment` parameters. Due to this flaw, an authenticated attacker could inject arbitrary script and trick other admin users into downloading malicious files which can cause severe damage to the organization using opennms.","aliases":["CVE-2021-25933"],"modified":"2025-05-01T00:21:24Z","published":"2021-05-25T18:47:01Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-05-21T17:29:49Z","nvd_published_at":"2021-05-20T15:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25933"},{"type":"WEB","url":"https://github.com/OpenNMS/opennms/commit/8a97e6869d6e49da18b208c837438ace80049c01%2C"},{"type":"WEB","url":"https://github.com/OpenNMS/opennms/commit/8a97e6869d6e49da18b208c837438ace80049c01,"},{"type":"WEB","url":"https://github.com/OpenNMS/opennms/commit/eb08b5ed4c5548f3e941a1f0d0363ae4439fa98c"},{"type":"WEB","url":"https://github.com/OpenNMS/opennms/commit/f3ebfa3da5352b4d57f238b54c6db315ad99f10e"},{"type":"PACKAGE","url":"https://github.com/OpenNMS/opennms"},{"type":"WEB","url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25933"}],"affected":[{"package":{"name":"org.opennms:opennms","ecosystem":"Maven","purl":"pkg:maven/org.opennms/opennms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"27.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-jjhw-5mxp-2g2q/GHSA-jjhw-5mxp-2g2q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}