Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.wso2.carbon.registry/registry
  4. ›
  5. CVE-2022-4520

CVE-2022-4520: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

December 15, 2022 (updated November 9, 2023)

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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2022-4520 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.8.12

Fixed versions

  • 4.8.12

Solution

Upgrade to version 4.8.12 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.wso2.carbon.registry/registry/CVE-2022-4520.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:28 +0000.