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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-15 · Modified: 2025-04-15
- Aliases: GHSA-j34r-57xj-pfm5
- Record: https://cvemate.com/vulnerability/CVE-2022-4520 · JSON: https://cvemate.com/vulnerability/CVE-2022-4520/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.721%, percentile 55.327%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- org.wso2.carbon.registry carbon-registry (Maven): \< 4.8.12
- 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 \| \< 4.8.12

## References

- <https://github.com/wso2/carbon-registry/pull/404>
- <https://github.com/wso2/carbon-registry/releases/tag/v4.8.12>
- <https://github.com/wso2/carbon-registry/commit/0c827cc1b14b82d8eb86117ab2e43c34bb91ddb4>
- <https://vuldb.com/?id.215900>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4520>
- <https://github.com/wso2/carbon-registry>

---

Data as of 2026-12-05T13:03:16.096Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
