# CVE-2022-4520: WSO2 carbon-registry Advanced Search advancedSearchForm-ajaxprocessor.jsp cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-15T00:00:00.000Z
- Modified: 2026-06-17T05:21:05.700Z
- Also known as: GHSA-j34r-57xj-pfm5
- Weaknesses: CWE-79, CWE-707
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- WSO2 carbon-registry: 4.8.0; 4.8.1; 4.8.2; 4.8.3; 4.8.4; 4.8.5; 4.8.6; 4.8.7; 4.8.8; 4.8.9; 4.8.10; 4.8.11; and 1 more
- org.wso2.carbon.registry:carbon-registry (Maven): before 4.8.12

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/wso2/carbon-registry/pull/404> (exploit, patch, third-party-advisory, web)
- <https://github.com/wso2/carbon-registry/releases/tag/v4.8.12> (release-notes, third-party-advisory, web)
- <https://github.com/wso2/carbon-registry/commit/0c827cc1b14b82d8eb86117ab2e43c34bb91ddb4> (patch, third-party-advisory, web)
- <https://vuldb.com/?id.215900> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4520> (advisory)
- <https://github.com/wso2/carbon-registry> (package)

## Sources

- CVE List: [CVE-2022-4520](https://www.cve.org/CVERecord?id=CVE-2022-4520), CVE Terms of Use, modified 2025-04-15
- GitHub Advisory Database: [GHSA-j34r-57xj-pfm5](https://github.com/advisories/GHSA-j34r-57xj-pfm5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-4520](https://nvd.nist.gov/vuln/detail/CVE-2022-4520), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4520 · Whole record: https://cve.day/CVE-2022-4520.json · Rebuilt by cve.day 2026-11-25T22:58:17.584Z
