{"cve":"CVE-2023-37940","nvd":{"published":"2024-12-17T22:15:05.080","modified":"2026-06-17T06:08:56.990","status":"Analyzed","description":"Cross-site scripting (XSS) vulnerability in the edit Service Access Policy page in Liferay Portal 7.0.0 through 7.4.3.87, and Liferay DXP 7.4 GA through update 87, 7.3 GA through update 29, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a service access policy's `Service Class` text field.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8},"cwes":["CWE-79"],"references":["https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2023-37940"],"products":["liferay:digital_experience_platform","liferay:liferay_portal"],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2023-37940","score":0.00278,"percentile":0.20227,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-px38-239g-x5mg","url":"https://osv.dev/vulnerability/GHSA-px38-239g-x5mg","summary":"Liferay Portal and Liferay DXP have Cross-site Scripting vulnerability in edit Service Access Policy page","modified":"2024-12-18T15:57:34.323638Z","packages":[{"ecosystem":"Maven","name":"com.liferay.portal:release.portal.bom","purl":"pkg:maven/com.liferay.portal/release.portal.bom","ranges":[">=7.0.0 <7.4.3.88"],"fixed":["7.4.3.88"]},{"ecosystem":"Maven","name":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","ranges":[">=7.0 <7.3.10.u30"],"fixed":["7.3.10.u30"]},{"ecosystem":"Maven","name":"com.liferay.portal:release.dxp.bom","purl":"pkg:maven/com.liferay.portal/release.dxp.bom","ranges":[">=7.4 <7.4.13.u88"],"fixed":["7.4.13.u88"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}