Medium
Security advisory
A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through 7.4.3.24, and Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 allows remote attackers to inject arbitrary web script or HTML via a crafted payload.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-42112
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:57 UTC · Revision 1
Source evidence
A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through 7.4.3.24, and Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 allows remote attackers to inject arbitrary web script or HTML via a crafted payload.
osv:CVE-2022-42112
Complete source record
{
"id": "032a76a4e65f39dc584db7be3eb87666663f1244d91180b4879108c3960a6105",
"url": "https://osv.dev/vulnerability/CVE-2022-42112",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-42112",
"summary": "A Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through 7.4.3.24, and Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 allows remote attackers to inject arbitrary web script or HTML via a crafted payload.",
"evidence": "osv:CVE-2022-42112",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-42112",
"aliases": [
"CVE-2022-42112",
"GHSA-7f7g-vhff-mjqj"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/liferay/liferay-portal",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5d3ed46f44dcc67a9fc97ae1199ccda546c1b288"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.2.0"
},
{
"fixed": "7.4.3.25"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"7.4.3.7-ga7",
"7.4.3.6-ga6",
"7.4.3.5-ga5",
"7.4.3.4-ga4",
"7.4.2-ga3",
"7.4.1-ga2",
"7.4.0-ga1",
"7.3.5-ga6",
"7.3.4-ga5",
"test-fix-pack-base-7310",
"7.3.3-ga4",
"7.3.2-ga3",
"7.3.1-ga2",
"7.3.0-ga1",
"7.2.0-b3",
"7.2.0-b2",
"7.2.0-b1",
"7.2.0-a1",
"7.2.0-m2",
"7.1.0-b2",
"7.1.0-b1",
"7.1.0-a2",
"7.1.0-a1",
"7.1.0-m2",
"7.1.0-m1",
"sync-3.1.0-ga1",
"sync-3.0.10-ga2",
"sync-3.0.9-ga1",
"sync-3.0.8-b9",
"7.0.0-m5",
"sync-3.0.7-b8",
"sync-3.0.6-b7",
"sync-3.0.5-b6",
"sync-3.0.4-b5",
"sync-3.0.3-b4",
"sync-3.0.2-b3",
"sync-3.0.1-b2",
"sync-3.0.0-b1",
"7.0.0-m4",
"7.0.0-m3",
"7.0.0-m2",
"7.0.0-m1",
"6.2.0-b2",
"6.2.0-b1",
"6.2.0-m6",
"6.2.0-m5",
"6.2.0-m4",
"6.2.0-m3",
"6.2.0-m2",
"6.1.0-rc1",
"6.1.0-b4",
"6.1.0-b3",
"6.1.0-b2",
"6.1.0-b1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42112.json"
}
}
],
"modified": "2026-10-28T02:30:48.803422494Z",
"provider": "osv",
"references": [
"https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42112",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42112.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-42112"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42112.json"
}
},
"related_cves": [
{
"value": "CVE-2022-42112",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517166,
"published_at": "2022-10-18T00:00:00+00:00"
}