{
  "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-2022-4520",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-4520",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2022-12-15T00:00:00.000Z",
    "updatedAt": "2025-04-15T13:03:58.576Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "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": "WSO2 carbon-registry Advanced Search advancedSearchForm-ajaxprocessor.jsp cross site scripting",
      "summary": "A vulnerability was found in WSO2 carbon-registry up to 4.8.11. It has been rated as problematic. Affected by this issue is some unknown functionality of the file components/registry/org.wso2.carbon.registry.search.ui/src/main/resources/web/search/advancedSearchForm-ajaxprocessor.jsp of the component Advanced Search. The manipulation of the argument mediaType/rightOp/leftOp/rightPropertyValue/leftPropertyValue leads to cross site scripting. The attack may be launched remotely. Upgrading to version 4.8.12 is able to address this issue. The name of the patch is 0c827cc1b14b82d8eb86117ab2e43c34bb91ddb4. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-215900.",
      "affected": [
        {
          "vendor": "WSO2",
          "product": "carbon-registry",
          "versions": [
            {
              "version": "4.8.0",
              "status": "affected"
            },
            {
              "version": "4.8.1",
              "status": "affected"
            },
            {
              "version": "4.8.2",
              "status": "affected"
            },
            {
              "version": "4.8.3",
              "status": "affected"
            },
            {
              "version": "4.8.4",
              "status": "affected"
            },
            {
              "version": "4.8.5",
              "status": "affected"
            },
            {
              "version": "4.8.6",
              "status": "affected"
            },
            {
              "version": "4.8.7",
              "status": "affected"
            },
            {
              "version": "4.8.8",
              "status": "affected"
            },
            {
              "version": "4.8.9",
              "status": "affected"
            },
            {
              "version": "4.8.10",
              "status": "affected"
            },
            {
              "version": "4.8.11",
              "status": "affected"
            }
          ]
        }
      ]
    }
  }
}