CVE-2022-4520
WSO2 carbon-registry Advanced Search advancedSearchForm-ajaxprocessor.jsp cross site scripting
Also known as GHSA-j34r-57xj-pfm5
Mitigation
- Upgrade org.wso2.carbon.registry:carbon-registry to 4.8.12 or later.
Who should check
- Projects that depend on Maven package org.wso2.carbon.registry:carbon-registry (< 4.8.12)
- Anyone running 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; …
Vulnerability facts
- Affected
- org.wso2.carbon.registry:carbon-registry < 4.8.12
- Fixed in
- 4.8.12
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 3.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.80% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-707
- 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.wso2.carbon.registry:carbon-registry | < 4.8.12 | 4.8.12 | osv |
| 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; … | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-4520. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-4520.md Affected: org.wso2.carbon.registry:carbon-registry < 4.8.12 Fixed in: 4.8.12 Steps: 1. Search this machine and project for org.wso2.carbon.registry:carbon-registry (Maven), WSO2 carbon-registry: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2022-4520 being exploited?
There is no confirmed exploitation: CVE-2022-4520 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-4520?
Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2022-4520?
org.wso2.carbon.registry:carbon-registry < 4.8.12.
Is there a fix for CVE-2022-4520?
Yes. Fixed in 4.8.12. Upgrade org.wso2.carbon.registry:carbon-registry to 4.8.12 or later.
How do I check if I'm affected by CVE-2022-4520?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.