Skip to content
Noroxi
CVE-2019-9852· NVD / CVE Program· CNA Document Fdn.

Insufficient URL encoding flaw in allowed script location check

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.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Aug 15, 2019
Updated
Jun 16, 2026
EPSS
1.8% · 77th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.8%

Affected systems

VendorProduct
libreofficelibreoffice
canonicalubuntu linux
debiandebian linux
fedoraprojectfedora
opensuseleap

Affected versions

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

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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10libreofficebefore 1:6.1.5-3+deb10u31:6.1.5-3+deb10u3
Debian:12libreofficebefore 1:6.3.0-11:6.3.0-1
Debian:8libreofficebefore 1:4.3.3-2+deb8u131:4.3.3-2+deb8u13
Debian:9libreofficebefore 1:5.2.7-1+deb9u101:5.2.7-1+deb9u10
openSUSE:Leap 15.0libreofficebefore 6.2.6.2-lp150.2.16.16.2.6.2-lp150.2.16.1
openSUSE:Leap 15.1libreofficebefore 6.2.7.1-lp151.3.6.16.2.7.1-lp151.3.6.1
Red Hat:enterprise_linux:7::clientautocorr-afbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-bgbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-cabefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-csbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-dabefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-debefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-enbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-esbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-fabefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-fibefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-frbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-gabefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-hrbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-hubefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-isbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-itbefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-jabefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7
Red Hat:enterprise_linux:7::clientautocorr-kobefore 1:5.3.6.1-24.el71:5.3.6.1-24.el7

+96

Other highest-scoring records for the same primary product.

  • CVE-2019-9851LibreLogo global-event script execution
    62This 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
    59Plan
  • CVE-2018-10583An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate
    54Plan
  • CVE-2019-9848LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-ov
    48Plan
  • CVE-2018-6871LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a document, which use
    46Plan
  • CVE-2023-1183Arbitrary file write
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libreoffice1:6.3.0-1 · Debian:12Package registry (OSV)
opensuse:libreoffice6.2.6.2-lp150.2.16.1 · openSUSE:Leap 15.0Package registry (OSV)
red hat:autocorr-af1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-bg1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-ca1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-cs1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-da1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-de1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-en1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-es1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-fa1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-fi1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-fr1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:autocorr-ga1:5.3.6.1-24.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:libreoffice6.2.6.2-3.21.1 · SUSE:Linux Enterprise Workstation Extension 15Package 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.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, 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

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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

CVSS 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.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records