{"id":"CVE-2026-87932","kind":"vulnerability","aliases":["CVE-2026-87932"],"related":[],"title":"LibreOffice Writer: crafted document writes files anywhere during DOCX export","description":"LibreOffice Writer can save documents in DOCX format. A document can contain content controls whose values are bound to custom XML data, and that data is updated with the current values when the document is exported, including in a conversion run from the command line. Values taken from the document were not escaped where they were used, so a crafted document could write a file of its choosing anywhere the user can write when it was exported to DOCX. In fixed versions these values are written into the document directly, and the XSLT transformations LibreOffice runs can no longer write files or use the network.","summary":"A crafted Writer document with content controls bound to custom XML can make LibreOffice write a file of the attacker's choosing when it is exported to DOCX, including in a command-line conversion. The unescaped values also let the XSLT transformations write files or use the network.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["document-conversion","libreoffice","package","self-hosted"],"not_affected_if":["no-docx-export","no-untrusted-documents"],"how_to_check":"- Check the installed LibreOffice version with `soffice --version` and compare it to the fixed versions below.\n- Look for scripted or batch DOCX conversion (`soffice --headless --convert-to docx`) that processes untrusted documents.","fix":null,"status":"open","published_at":"2026-11-16T17:17:36+00:00","first_seen_at":"2026-11-16T17:37:58+00:00","triaged_at":"2026-11-16T17:38:57+00:00","updated_at":"2026-11-16T17:38:57+00:00","category":"package","confidence":0.5,"triage":{"at":"2026-11-16T17:38:57Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"LibreOffice Writer: crafted document writes files anywhere during DOCX export","impact":"high","summary":"A crafted Writer document with content controls bound to custom XML can make LibreOffice write a file of the attacker's choosing when it is exported to DOCX, including in a command-line conversion. The unescaped values also let the XSLT transformations write files or use the network.","audience":"developers","category":"package","nicknames":[],"who_cares":["libreoffice","document-conversion","self-hosted"],"confidence":0.5,"fix_status":"unknown","needs_auth":"no","worst_case":"Attacker writes arbitrary files where the exporting user can write","analyst_note":"Confirm fixed LibreOffice versions and the affected ranges at the NVD entry or the LibreOffice advisory; the sources here name no fixed version.","how_to_check":"- Check the installed LibreOffice version with `soffice --version` and compare it to the fixed versions below.\n- Look for scripted or batch DOCX conversion (`soffice --headless --convert-to docx`) that processes untrusted documents.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-untrusted-documents","no-docx-export"],"who_is_affected":"Any system that opens untrusted Writer documents and exports them to DOCX, especially headless or batch conversion jobs on servers. Desktop users who only edit their own documents are less exposed. The sources do not name the fixed versions.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000745,"input_tokens":4600,"output_tokens":570,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':12A,15A '-87932':13A,16A 'also':63B 'anywher':7A,142C 'attack':44B 'bound':32B,91C 'choos':46B,141C 'command':57B,117C 'command-lin':56B 'contain':85C 'content':30B,86C 'control':31B,87C 'convers':19B,59B,113C 'could':135C 'craft':3A,26B,133C 'current':103C 'custom':34B,93C 'cve':11A,14A 'data':95C,98C 'direct':163C 'document':4A,18B,28B,78C,83C,107C,123C,134C,162C 'document-convers':17B 'docx':9A,52B,80C,152C 'escap':126C 'export':10A,50B,109C,150C 'file':6A,41B,69B,138C,174C 'fix':154C 'format':81C 'host':24B 'includ':53B,110C 'let':64B 'libreoffic':1A,20B,38B,74C,168C 'line':58B,118C 'longer':172C 'make':37B 'network':73B,178C 'packag':21B 'run':114C,169C 'save':77C 'self':23B 'self-host':22B 'taken':120C 'transform':67B,167C 'unescap':61B 'updat':100C 'use':71B,130C,176C 'user':144C 'valu':62B,89C,104C,119C,157C 'version':155C 'whose':88C 'write':5A,39B,68B,136C,146C,173C 'writer':2A,27B,75C 'written':159C 'xml':35B,94C 'xslt':66B,166C","nicknames":[],"mitigations":[],"who_affected":"Any system that opens untrusted Writer documents and exports them to DOCX, especially headless or batch conversion jobs on servers. Desktop users who only edit their own documents are less exposed. The sources do not name the fixed versions.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["documentconversion","libreoffice","medium","package","selfhosted"],"campaign_type":null,"search_a":"'-2026':12A,15A '-87932':13A,16A 'anywher':7A 'craft':3A 'cve':11A,14A 'document':4A 'docx':9A 'export':10A 'file':6A 'libreoffic':1A 'write':5A 'writer':2A","search_b":"'also':63B 'attack':44B 'bound':32B 'choos':46B 'command':57B 'command-lin':56B 'content':30B 'control':31B 'convers':19B,59B 'craft':26B 'custom':34B 'document':18B,28B 'document-convers':17B 'docx':52B 'export':50B 'file':41B,69B 'host':24B 'includ':53B 'let':64B 'libreoffic':20B,38B 'line':58B 'make':37B 'network':73B 'packag':21B 'self':23B 'self-host':22B 'transform':67B 'unescap':61B 'use':71B 'valu':62B 'write':39B,68B 'writer':27B 'xml':35B 'xslt':66B","search_c":"'anywher':142C 'bound':91C 'choos':141C 'command':117C 'contain':85C 'content':86C 'control':87C 'convers':113C 'could':135C 'craft':133C 'current':103C 'custom':93C 'data':95C,98C 'direct':163C 'document':78C,83C,107C,123C,134C,162C 'docx':80C,152C 'escap':126C 'export':109C,150C 'file':138C,174C 'fix':154C 'format':81C 'includ':110C 'libreoffic':74C,168C 'line':118C 'longer':172C 'network':178C 'run':114C,169C 'save':77C 'taken':120C 'transform':167C 'updat':100C 'use':130C,176C 'user':144C 'valu':89C,104C,119C,157C 'version':155C 'whose':88C 'write':136C,146C,173C 'writer':75C 'written':159C 'xml':94C 'xslt':166C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T17:17:36+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security@documentfoundation.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-87932","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87932","severity":null,"published_at":"2026-11-16T17:17:36+00:00","modified_at":"2026-11-16T17:17:36+00:00","first_seen_at":"2026-11-16T17:37:58+00:00","fetched_at":"2026-11-16T17:37:58+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}