{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2023-40311",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2023-40311",
    "idYear": 2023,
    "status": "PUBLISHED",
    "publishedAt": "2023-08-14T17:31:29.877Z",
    "updatedAt": "2024-09-27T21:57:16.869Z",
    "importedAt": "2026-10-24T01:56:58.683Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Stored XSS in multiple JSP files in opennms/opennms",
      "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.\n",
      "affected": [
        {
          "vendor": "The OpenNMS Group",
          "product": "Horizon",
          "platforms": [
            "Windows",
            "MacOS",
            "Linux"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "31.0.8",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "32.0.2"
            },
            {
              "version": "0",
              "status": "unknown",
              "versionType": "maven",
              "lessThan": "31.0.8"
            }
          ]
        },
        {
          "vendor": "The OpenNMS Group",
          "product": "Meridian",
          "platforms": [
            "Windows",
            "Linux",
            "MacOS"
          ],
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2020.0.0",
              "status": "affected",
              "versionType": "maven",
              "lessThanOrEqual": "2020.1.37"
            },
            {
              "version": "2021.0.0",
              "status": "affected",
              "versionType": "maven",
              "lessThanOrEqual": "2021.1.29"
            },
            {
              "version": "2022.0.0",
              "status": "affected",
              "versionType": "maven",
              "lessThanOrEqual": "2022.1.18"
            },
            {
              "version": "2023.0.0",
              "status": "affected",
              "versionType": "maven",
              "lessThanOrEqual": "2023.1.5"
            }
          ]
        }
      ]
    }
  }
}