{"api_version":"1","generated_at":"2026-04-23T04:33:20+00:00","cve":"CVE-2019-9852","urls":{"html":"https://cve.report/CVE-2019-9852","api":"https://cve.report/api/cve/CVE-2019-9852.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-9852","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-9852"},"summary":{"title":"CVE-2019-9852","description":"LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.","state":"PUBLIC","assigner":"security@documentfoundation.org","published_at":"2019-08-15 22:15:00","updated_at":"2023-11-07 03:13:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://seclists.org/bugtraq/2019/Sep/17","name":"20190910 [SECURITY] [DSA 4519-1] libreoffice security update","refsource":"BUGTRAQ","tags":[],"title":"Bugtraq: [SECURITY] [DSA 4519-1] libreoffice security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html","name":"openSUSE-SU-2019:2183","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2183-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/","name":"FEDORA-2019-2fe22a3a2c","refsource":"FEDORA","tags":["Mailing List","Third Party Advisory"],"title":"[SECURITY] Fedora 29 Update: libreoffice-6.1.6.3-3.fc29 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/","name":"FEDORA-2019-2fe22a3a2c","refsource":"","tags":[],"title":"[SECURITY] Fedora 29 Update: libreoffice-6.1.6.3-3.fc29 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852","name":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852","refsource":"MISC","tags":["Patch","Vendor Advisory"],"title":"CVE-2019-9852 | LibreOffice - Free Office Suite - Fun Project - Fantastic People","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://seclists.org/bugtraq/2019/Aug/28","name":"20190815 [SECURITY] [DSA 4501-1] libreoffice security update","refsource":"BUGTRAQ","tags":["Mailing List","Third Party Advisory"],"title":"Bugtraq: [SECURITY] [DSA 4501-1] libreoffice security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html","name":"[debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1947-1] libreoffice security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html","name":"openSUSE-SU-2019:2057","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2057-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4102-1/","name":"USN-4102-1","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-4102-1: LibreOffice vulnerabilities | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2019/dsa-4501","name":"DSA-4501","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4501-1 libreoffice","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-9852","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-9852","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Thanks to Nils Emmerich of ERNW Research GmbH for discovering and reporting this issue","lang":""}],"nvd_cpes":[{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"esm","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"19.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"29","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"29","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libreoffice","cpe5":"libreoffice","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libreoffice","cpe5":"libreoffice","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"9852","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"15.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-9852","qid":"356235","title":"Amazon Linux Security Advisory for libreoffice : ALASLIBREOFFICE-2023-002"},{"cve":"CVE-2019-9852","qid":"377399","title":"Alibaba Cloud Linux Security Update for libreoffice (ALINUX3-SA-2022:0038)"},{"cve":"CVE-2019-9852","qid":"377446","title":"Alibaba Cloud Linux Security Update for libreoffice (ALINUX2-SA-2020:0048)"},{"cve":"CVE-2019-9852","qid":"501053","title":"Alpine Linux Security Update for libreoffice"},{"cve":"CVE-2019-9852","qid":"505019","title":"Alpine Linux Security Update for libreoffice"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@documentfoundation.org","DATE_PUBLIC":"2019-08-15T00:00:00.000Z","ID":"CVE-2019-9852","STATE":"PUBLIC","TITLE":"Insufficient URL encoding flaw in allowed script location check"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"LibreOffice","version":{"version_data":[{"version_affected":"<","version_value":"6.2.6"}]}}]},"vendor_name":"Document Foundation"}]}},"credit":[{"lang":"eng","value":"Thanks to Nils Emmerich of ERNW Research GmbH for discovering and reporting this issue"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6."}]},"generator":{"engine":"Vulnogram 0.0.7"},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-116 Improper Encoding or Escaping of Output"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852","name":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852"},{"refsource":"BUGTRAQ","name":"20190815 [SECURITY] [DSA 4501-1] libreoffice security update","url":"https://seclists.org/bugtraq/2019/Aug/28"},{"refsource":"DEBIAN","name":"DSA-4501","url":"https://www.debian.org/security/2019/dsa-4501"},{"refsource":"FEDORA","name":"FEDORA-2019-2fe22a3a2c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/"},{"refsource":"UBUNTU","name":"USN-4102-1","url":"https://usn.ubuntu.com/4102-1/"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2057","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html"},{"refsource":"BUGTRAQ","name":"20190910 [SECURITY] [DSA 4519-1] libreoffice security update","url":"https://seclists.org/bugtraq/2019/Sep/17"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2183","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update","url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html"}]},"source":{"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2019-08-15 22:15:00","lastModifiedDate":"2023-11-07 03:13:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*","versionEndExcluding":"6.2.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"9852","Ordinal":"147746","Title":"CVE-2019-9852","CVE":"CVE-2019-9852","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"9852","Ordinal":"1","NoteData":"LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"9852","Ordinal":"2","NoteData":"2019-08-15","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"9852","Ordinal":"3","NoteData":"2019-10-06","Type":"Other","Title":"Modified"}]}}}