CVE-2020-12803 json
XForms submissions could overwrite local files
published 2020-06-08 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-5086
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
ODF documents can contain forms to be filled out by the user. Similar to HTML forms, the contained form data can be submitted to a URI, for example, to an external web server. To create submittable forms, ODF implements the XForms W3C standard, which allows data to be submitted without the need for macros or other active scripting Prior to version 6.4.4 LibreOffice allowed forms to be submitted to any URI, including file: URIs, enabling form submissions to overwrite local files. User-interaction is required to submit the form, but to avoid the possibility of malicious documents engineered to maximize the possibility of inadvertent user submission this feature has now been limited to http[s] URIs, removing the possibility to overwrite local files. This issue affects: The Document Foundation LibreOffice versions prior to 6.4.4.
Patch / fix
- The Document Foundation LibreOffice 6.4.4
- libreoffice Debian 14, Debian 13, Debian 12 1:6.4.4-1
debian advisories DEBIAN-CVE-2020-12803
- libreoffice Ubuntu 18.04 LTS 1:6.0.7-0ubuntu0.18.04.12
- libreoffice Ubuntu 20.04 LTS 1:6.4.7-0ubuntu0.20.04.1
ubuntu advisories UBUNTU-CVE-2020-12803
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libreoffice RHEL 8 1:6.3.6.2-3.el8
- libcmis RHEL 8 0.5.2-1.el8
- liborcus RHEL 8 0.14.1-1.el8
- autocorr-af RHEL 8 1:6.3.6.2-3.el8
- autocorr-bg RHEL 8 1:6.3.6.2-3.el8
- autocorr-ca RHEL 8 1:6.3.6.2-3.el8
- autocorr-cs RHEL 8 1:6.3.6.2-3.el8
- autocorr-da RHEL 8 1:6.3.6.2-3.el8
red hat advisories RHSA-2020:4628
- libreoffice SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 6.4.5.2-43.68.1
- libreoffice SLE Workstation Extension 15 SP2 6.4.5.2-13.3.1
- libreoffice SLE Workstation Extension 15 SP1 6.4.5.2-8.22.1
suse advisories SUSE-SU-2020:2283-1SUSE-SU-2020:2235-1SUSE-SU-2020:2217-1
- libreoffice openSUSE Tumbleweed 7.1.5.2-3.13
- libreoffice openSUSE Leap 15.2 6.4.5.2-lp152.2.3.1
- libreoffice openSUSE Leap 15.1 6.4.5.2-lp151.3.18.1
opensuse advisories openSUSE-SU-2024:10983-1openSUSE-SU-2020:1261-1openSUSE-SU-2020:1222-1
- libcmis AlmaLinux 8 0.5.2-1.el8
- libreoffice-sdk AlmaLinux 8 1:6.3.6.2-3.el8.alma
almalinux advisories ALSA-2020:4628
- libcmis Rocky Linux 8 0.5.2-1.el8
rocky linux advisories RLSA-2020:4628
- libreoffice Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 6.4.4.2-r0
alpine advisories ALPINE-CVE-2020-12803
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libreoffice-still Arch Linux 6.4.6-1
arch linux advisories AVG-1184
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12803 updated cvss 5.5
libreoffice: forms allowed to be submitted to any URI could result in local file overwrite
-
Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +105 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder (v. 8) libreoffice-sdk 6.3.6.2-3.el8 Red Hat Enterprise Linux AppStream (v. 8) libcmis 0.5.2-1.el8, liborcus 0.14.1-1.el8, autocorr-af 6.3.6.2-3.el8, autocorr-bg 6.3.6.2-3.el8, autocorr-ca 6.3.6.2-3.el8, autocorr-cs 6.3.6.2-3.el8, +97 morefixed: vendor fix RHSA-2020:4628
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.76% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected products
- The Document Foundation LibreOffice
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PQIBAKXD7VO5IGBD7ZMH3GGBNR5R2IOA/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00042.html
vendor-advisory, broken-link
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00058.html
vendor-advisory, broken-link
-
libreoffice.org
/about-us/security/advisories/CVE-2020-12803
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2023/12/msg00026.html
mailing-list
Sources
- CVE List CVE-2020-12803
- NVD CVE-2020-12803
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.