{"cve":"CVE-2022-4520","nvd":{"published":"2022-12-15T21:15:12.683","modified":"2026-06-17T05:21:05.700","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79","CWE-707"],"references":["https://github.com/wso2/carbon-registry/commit/0c827cc1b14b82d8eb86117ab2e43c34bb91ddb4","https://github.com/wso2/carbon-registry/pull/404","https://github.com/wso2/carbon-registry/releases/tag/v4.8.12","https://vuldb.com/?id.215900","https://github.com/wso2/carbon-registry/commit/0c827cc1b14b82d8eb86117ab2e43c34bb91ddb4"],"products":["wso2:carbon-registry"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2022-4520","score":0.00697,"percentile":0.53061,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j34r-57xj-pfm5","url":"https://osv.dev/vulnerability/GHSA-j34r-57xj-pfm5","summary":"WSO2 carbon-registry Cross-site Scripting vulnerability","modified":"2023-11-08T04:10:50.759935Z","packages":[{"ecosystem":"Maven","name":"org.wso2.carbon.registry:carbon-registry","purl":"pkg:maven/org.wso2.carbon.registry/carbon-registry","ranges":["<4.8.12"],"fixed":["4.8.12"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}