CVE-2019-9852: Insufficient URL encoding flaw in allowed script location check
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.7% (FIRST EPSS); higher than 78.2% of all records.
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: libreoffice (Alpine:v3.10) 6.2.6.2-r0; libreoffice (Alpine:v3.11) 6.3.0.4-r0; libreoffice (Debian:10) 1:6.1.5-3+deb10u3.
Low priority for now. Upgrade to libreoffice (Alpine:v3.10) 6.2.6.2-r0; libreoffice (Alpine:v3.11) 6.3.0.4-r0; libreoffice (Debian:10) 1:6.1.5-3+deb10u3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Aug 15, 2019
- Updated
- Jun 16, 2026
- EPSS
- 1.7% · 78th percentile
- CWE
- CWE-116
Report tools
Action score
32
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libreoffice | libreoffice | cpe:2.3:a:libreoffice:libreoffice |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Document Fdn.). Independent of NVD's CPE analysis and usually ahead of it.
Document Foundation LibreOffice
- unspecified and later · before 6.2.6affected
Affected versions · NVD (10)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux19.04
- debian debian linux10.0
- debian debian linux8.0
- debian debian linux9.0
- fedoraproject fedora29
- libreoffice libreofficebefore 6.2.6
- opensuse leap15.0
- opensuse leap15.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | libreoffice | before 6.2.6.2-r0 | 6.2.6.2-r0 |
| Alpine:v3.11 | libreoffice | before 6.3.0.4-r0 | 6.3.0.4-r0 |
| Debian:10 | libreoffice | before 1:6.1.5-3+deb10u3 | 1:6.1.5-3+deb10u3 |
| Debian:12 | libreoffice | before 1:6.3.0-1 | 1:6.3.0-1 |
| Debian:8 | libreoffice | before 1:4.3.3-2+deb8u13 | 1:4.3.3-2+deb8u13 |
| Debian:9 | libreoffice | before 1:5.2.7-1+deb9u10 | 1:5.2.7-1+deb9u10 |
| openSUSE:Leap 15.0 | libreoffice | before 6.2.6.2-lp150.2.16.1 | 6.2.6.2-lp150.2.16.1 |
| openSUSE:Leap 15.1 | libreoffice | before 6.2.7.1-lp151.3.6.1 | 6.2.7.1-lp151.3.6.1 |
| Red Hat:enterprise_linux:7::client | autocorr-af | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-bg | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-ca | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-cs | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-da | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-de | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-en | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-es | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fa | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fi | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-fr | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-ga | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-hr | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-hu | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-is | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
| Red Hat:enterprise_linux:7::client | autocorr-it | before 1:5.3.6.1-24.el7 | 1:5.3.6.1-24.el7 |
+96
Same product
libreoffice: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-9851LibreLogo global-event script execution62This week
- CVE-2018-16858It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute…60This week
- CVE-2018-10583An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate…60This week
Published before and after this one in the same product
- ← EarlierCVE-2019-9849Jul 17, 2019 · LibreOffice has a 'stealth mode' in which only documents from locations deemed 'trusted' are allowed to retrieve remote resources.18Monitor
- ← EarlierCVE-2019-9850Aug 15, 2019 · Insufficient url validation allowing LibreLogo script execution40Plan
- Later →CVE-2019-9854Sep 6, 2019 · Unsafe URL assembly flaw in allowed script location check32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:libreoffice | 6.2.6.2-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:libreoffice | 1:6.3.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:libreoffice | 6.2.6.2-lp150.2.16.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| red hat:autocorr-af | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-bg | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-ca | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-cs | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-da | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-de | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-en | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-es | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-fa | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-fi | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-fr | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:autocorr-ga | 1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:libreoffice | 6.2.6.2-3.21.1 · SUSE:Linux Enterprise Workstation Extension 15 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Nils EmmerichERNW Research GmbH for discovering and reporting this issue
Not on record for this CVE: EPSS history · patch commit or PR link · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-116 · Improper Encoding or Escaping of OutputCVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html
- lists.debian.org/debian-lts-announce/2019/10/msg00005.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/
- seclists.org/bugtraq/2019/Aug/28
- seclists.org/bugtraq/2019/Sep/17
- usn.ubuntu.com/4102-1/
- www.debian.org/security/2019/dsa-4501
- www.libreoffice.org/about-us/security/advisories/CVE-2019-9852
Vendor advisories and official records. Exploit/PoC links are deliberately left out.