{"schemaVersion":3,"id":"CVE-2022-4521","aliases":["GHSA-gp5f-gqgq-7254"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability classified as problematic has been found in WSO2 carbon-registry up to 4.8.6. This affects an unknown part of the component Request Parameter Handler. The manipulation of the argument parentPath/path/username/path/profile_menu leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 4.8.7 is able to address this issue. The name of the patch is 9f967abfde9317bee2cda469dbc09b57d539f2cc. It is recommended to upgrade the affected component. The identifier VDB-215901 was assigned to this vulnerability.","dates":{"published":"2022-12-15T00:00:00.000Z","modified":"2024-08-03T01:41:45.620Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":3.5,"severity":"low","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00617,"percentile":0.48622,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.049,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00568},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00617,"percentile":0.48622}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00568,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00617,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00617,"percentile":0.48622}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"org.wso2.carbon.registry","product":"carbon-registry","name":"org.wso2.carbon.registry:carbon-registry","label":"carbon-registry","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.wso2.carbon.registry/carbon-registry","purlType":"maven","versions":[{"text":"< 4.8.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.7","eol":null,"hubHref":null},{"vendor":"wso2","product":"carbon-registry","name":"carbon-registry","label":"carbon-registry","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.8.0","noFixRecorded":false,"fixedIn":null},{"text":"4.8.1","noFixRecorded":false,"fixedIn":null},{"text":"4.8.2","noFixRecorded":false,"fixedIn":null},{"text":"4.8.3","noFixRecorded":false,"fixedIn":null},{"text":"4.8.4","noFixRecorded":false,"fixedIn":null},{"text":"4.8.5","noFixRecorded":false,"fixedIn":null},{"text":"4.8.6","noFixRecorded":false,"fixedIn":null},{"text":"< 4.8.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.8.0 | 4.8.1 | 4.8.2 | 4.8.3 | 4.8.4 | 4.8.5 | 4.8.6 | < 4.8.7","eol":null,"hubHref":"/vendor/wso2/carbon-registry"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.215901","label":"vuldb.com?id.215901","hostname":"vuldb.com","tags":["Technical Description","VDB Entry","WEB","Third Party Advisory"]},{"url":"https://github.com/wso2/carbon-registry/pull/399","label":"github.com/wso2/carbon-registry/pull/399","hostname":"github.com","tags":["Related","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/wso2/carbon-registry/commit/9f967abfde9317bee2cda469dbc09b57d539f2cc","label":"github.com/wso2/carbon-registry/commit/9f967abfde9317bee2cda469dbc09b57d539f2cc","hostname":"github.com","tags":["Mitigation","Patch","WEB","Third Party Advisory"]},{"url":"https://github.com/wso2/carbon-registry/releases/tag/v4.8.7","label":"github.com/wso2/carbon-registry/releases/tag/v4.8.7","hostname":"github.com","tags":["Mitigation","WEB","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4521","label":"nvd.nist.gov/vuln/detail/CVE-2022-4521","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/wso2/carbon-registry","label":"github.com/wso2/carbon-registry","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/wso2/carbon-registry/releases/tag/v4.8.12","label":"github.com/wso2/carbon-registry/releases/tag/v4.8.12","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-12-15T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T01:41:45.620Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T11:02:55.985Z","stale":false,"partial":false}}