# CVE-2022-4521: WSO2 carbon-registry vulnerable to Cross-site Scripting

Source: https://junglewise.ai/threats/cve-2022-4521-wso2-carbon-registry-vulnerable-to-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-15  
License: CC BY 4.0 with a link back

CVE-2022-4521 · Severity: low · CVSS 3.1 · Published 2022-12-15

WSO2 carbon-registry vulnerable to Cross-site Scripting

Technologies: [org.wso2.carbon.registry:carbon-registry (Maven)](https://junglewise.ai/threats/technologies/org-wso2-carbon-registry-carbon-registry). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-4521 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-4521 being exploited in the wild.

**How severe is CVE-2022-4521?** Low severity, with a CVSS score of 3.1, published 15 December 2022.

**Which products and versions are affected?** org.wso2.carbon.registry:carbon-registry (Maven) ECOSYSTEM:introduced=0,fixed=4.8.7.

**Is there a fix for CVE-2022-4521?** Yes. org.wso2.carbon.registry:carbon-registry (Maven): upgrade to 4.8.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-4521?** Check whether you run org.wso2.carbon.registry:carbon-registry (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.wso2.carbon.registry:carbon-registry (Maven): upgrade to 4.8.7 or later

  ```sh
  # set org.wso2.carbon.registry:carbon-registry to 4.8.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.wso2.carbon.registry:carbon-registry (Maven) ECOSYSTEM:introduced=0,fixed=4.8.7

## Identifiers

- CVE-2022-4521
- GHSA-gp5f-gqgq-7254

## Related threats

- [WSO2 Registry Stored Cross Site Scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2023-6911-wso2-registry-stored-cross-site-scripting-xss-vulnerability)
- [WSO2 carbon-registry Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2022-4520-wso2-carbon-registry-cross-site-scripting-vulnerability)
