CVE-2019-9852
Insufficient URL encoding flaw in allowed script location check
- Published
- Updated
- Reserved
- Assigned by
- Document Fdn.
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.8% · top 22% of all CVEs (5 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
Document Foundation · LibreOffice
- affected unspecified – < 6.2.6
References (9)
- https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852 (opens in a new tab)x_refsource_MISCx_transferred
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- DSA-4501 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- FEDORA-2019-2fe22a3a2c (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- USN-4102-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- openSUSE-SU-2019:2057 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 20190910 [SECURITY] [DSA 4519-1] libreoffice security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- openSUSE-SU-2019:2183 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-9852)Record last updated .