{"id":"CVE-2021-33337","details":"Cross-site scripting (XSS) vulnerability in the Document Library module's add document menu in Liferay Portal 7.3.0 through 7.3.4, and Liferay DXP 7.1 before fix pack 20, and 7.2 before fix pack 9, allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_document_library_web_portlet_DLAdminPortlet_name parameter.","aliases":["GHSA-v88g-7fx4-9q7f"],"modified":"2026-09-05T03:30:34.736489429Z","published":"2021-08-04T14:15:08.317Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:liferay:digital_experience_platform:7.1:-:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_10:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_11:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_12:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_13:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_14:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_15:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_16:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_17:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_18:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_19:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_1:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_2:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_3:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_4:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_5:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_6:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_7:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_8:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.1:fix_pack_9:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:-:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_1:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_2:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_3:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_4:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_5:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_6:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_7:*:*:*:*:*:*","cpe:2.3:a:liferay:digital_experience_platform:7.2:fix_pack_8:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.1-NA"},{"last_affected":"7.1-NA"},{"introduced":"7.1-fix_pack_1"},{"last_affected":"7.1-fix_pack_1"},{"introduced":"7.1-fix_pack_10"},{"last_affected":"7.1-fix_pack_10"},{"introduced":"7.1-fix_pack_11"},{"last_affected":"7.1-fix_pack_11"},{"introduced":"7.1-fix_pack_12"},{"last_affected":"7.1-fix_pack_12"},{"introduced":"7.1-fix_pack_13"},{"last_affected":"7.1-fix_pack_13"},{"introduced":"7.1-fix_pack_14"},{"last_affected":"7.1-fix_pack_14"},{"introduced":"7.1-fix_pack_15"},{"last_affected":"7.1-fix_pack_15"},{"introduced":"7.1-fix_pack_16"},{"last_affected":"7.1-fix_pack_16"},{"introduced":"7.1-fix_pack_17"},{"last_affected":"7.1-fix_pack_17"},{"introduced":"7.1-fix_pack_18"},{"last_affected":"7.1-fix_pack_18"},{"introduced":"7.1-fix_pack_19"},{"last_affected":"7.1-fix_pack_19"},{"introduced":"7.1-fix_pack_2"},{"last_affected":"7.1-fix_pack_2"},{"introduced":"7.1-fix_pack_3"},{"last_affected":"7.1-fix_pack_3"},{"introduced":"7.1-fix_pack_4"},{"last_affected":"7.1-fix_pack_4"},{"introduced":"7.1-fix_pack_5"},{"last_affected":"7.1-fix_pack_5"},{"introduced":"7.1-fix_pack_6"},{"last_affected":"7.1-fix_pack_6"},{"introduced":"7.1-fix_pack_7"},{"last_affected":"7.1-fix_pack_7"},{"introduced":"7.1-fix_pack_8"},{"last_affected":"7.1-fix_pack_8"},{"introduced":"7.1-fix_pack_9"},{"last_affected":"7.1-fix_pack_9"},{"introduced":"7.2-NA"},{"last_affected":"7.2-NA"},{"introduced":"7.2-fix_pack_1"},{"last_affected":"7.2-fix_pack_1"},{"introduced":"7.2-fix_pack_2"},{"last_affected":"7.2-fix_pack_2"},{"introduced":"7.2-fix_pack_3"},{"last_affected":"7.2-fix_pack_3"},{"introduced":"7.2-fix_pack_4"},{"last_affected":"7.2-fix_pack_4"},{"introduced":"7.2-fix_pack_5"},{"last_affected":"7.2-fix_pack_5"},{"introduced":"7.2-fix_pack_6"},{"last_affected":"7.2-fix_pack_6"},{"introduced":"7.2-fix_pack_7"},{"last_affected":"7.2-fix_pack_7"},{"introduced":"7.2-fix_pack_8"},{"last_affected":"7.2-fix_pack_8"}],"source":"CPE_STRING","vendor_product":"liferay:digital_experience_platform"}]},"references":[{"type":"ADVISORY","url":"https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-33337-stored-xss-with-document-types-in-documents-and-media"},{"type":"REPORT","url":"https://issues.liferay.com/browse/LPE-17101"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/liferay/liferay-portal","events":[{"introduced":"b072f5df5544a28677824835b490ce8a867bf133"},{"last_affected":"6d28f4266948e7b0eeb14c3e8d16b3d81e02e8bb"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.3.0"},{"last_affected":"7.3.4"}]}}],"versions":["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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33337.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}