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

Unsafe URL assembly 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 77.4% 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 (Debian:10) 1:6.1.5-3+deb10u4; libreoffice (Debian:12) 1:6.3.1~rc2-1; libreoffice (Debian:8) 1:4.3.3-2+deb8u13.

Low priority for now. Upgrade to libreoffice (Debian:10) 1:6.1.5-3+deb10u4; libreoffice (Debian:12) 1:6.3.1~rc2-1; libreoffice (Debian:8) 1:4.3.3-2+deb8u13 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-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.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Sep 6, 2019
Updated
Jun 16, 2026
EPSS
1.8% · 77th percentile

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%

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.

Follow CVE-2019-9854

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Port scanning: 5 full scans a day (members only)
  • Uptime monitoring: 1 site, instant email when it goes down
  • Verify your domain: subdomains and takeover risk scanned every week
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi 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 help

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

VendorProduct
libreofficelibreoffice
canonicalubuntu linux
debiandebian linux
fedoraprojectfedora
opensuseleap
redhatenterprise linux

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 libreoffice6.2.0 and later · before 6.2.7
  • libreoffice libreoffice6.3.0 and later · before 6.3.1
  • opensuse leap15.0
  • opensuse leap15.1
  • redhat enterprise linux7.0
  • redhat enterprise linux8.0

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

    • 6.2 and later · before 6.2.7affected
    • 6.3 and later · before 6.3.1affected

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+deb10u41:6.1.5-3+deb10u4
Debian:12libreofficebefore 1:6.3.1~rc2-11:6.3.1~rc2-1
Debian:8libreofficebefore 1:4.3.3-2+deb8u131:4.3.3-2+deb8u13
Debian:9libreofficebefore 1:5.2.7-1+deb9u111:5.2.7-1+deb9u11
openSUSE:Leap 15.0libreofficebefore 6.2.7.1-lp150.2.19.16.2.7.1-lp150.2.19.1
openSUSE:Leap 15.1libreofficebefore 6.2.7.1-lp151.3.6.16.2.7.1-lp151.3.6.1
openSUSE:Tumbleweedlibreofficebefore 7.1.5.2-3.137.1.5.2-3.13
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

+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
    53Plan
  • 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.1~rc2-1 · Debian:12Package registry (OSV)
opensuse:libreoffice6.2.7.1-lp151.3.6.1 · openSUSE:Leap 15.1Package 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.7.1-43.56.3 · SUSE:Linux Enterprise Desktop 12 SP4Package 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.

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

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

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

References

All records