Unsafe URL assembly flaw in allowed script location check
Published Sep 6, 2019
7.8
HIGHCVSS 3.1
EPSS 1.76%
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-2019-9852, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed by employing a URL encoding attack to defeat the path verification step. However this protection could be bypassed by taking advantage of a flaw in how LibreOffice assembled the final script URL location directly from components of the passed in path as opposed to solely from the sanitized output of the path verification step. This issue affects: Document Foundation LibreOffice 6.2 versions prior to 6.2.7; 6.3 versions prior to 6.3.1.
Affected products
-
- Version 6.2StatusaffectedConstraints<6.2.7
- Version 6.3StatusaffectedConstraints<6.3.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Document Foundation | LibreOffice | n/a |
|
Configuration 1
- ≥ 6.2.0 · < 6.2.7
- ≥ 6.3.0 · < 6.3.1
Configuration 2
- 16.04
- 18.04
- 19.04
- 8.0
- 9.0
- 10.0
- 29
- 15.0
- 15.1
- 7.0
- 8.0
No data.
Red Hat Enterprise Linux 7
libreoffice-1:5.3.6.1-24.el7
Fixed · RHSA-2020:1151
Red Hat Enterprise Linux 8
libreoffice-1:6.0.6.1-20.el8
Fixed · RHSA-2020:1598
Red Hat Enterprise Linux 6
libreoffice
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libreoffice-1:5.3.6.1-24.el7 | Fixed | RHSA-2020:1151 |
| Red Hat Enterprise Linux 8 | libreoffice-1:6.0.6.1-20.el8 | Fixed | RHSA-2020:1598 |
| Red Hat Enterprise Linux 6 | libreoffice | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.76% (0.01756) | 77.16th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.94% (0.01937) | 77.39th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.43% (0.00434) | 60.74th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.35% (0.00351) | 72.72th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.21% (0.00211) | 58.33th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00191) | 54.77th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.71% (0.04713) | 74.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 7.85% (0.07855) | 85.01th | v1 |
| Jan 6, 2022 | 7.85% (0.07855) | 84.84th | v1 |
| Jan 5, 2022 | 1.86% (0.01865) | 76.93th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.86% (0.01865) | 0.00th | v1 |
References (12)
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00055.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-9854 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1769907 Third Party AdvisoryIssue Tracking
- https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQKKOIY2DMZCXJINOLIQXD2NWISDKK3N/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-9854
- https://seclists.org/bugtraq/2019/Sep/17 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://usn.ubuntu.com/4138-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9854
- https://www.debian.org/security/2019/dsa-4519 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/ x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.