CVE-2026-129876: OfficeCLI 1.0.56 through 1.0.161 Stored XSS via Watch Preview List Marker Color
OfficeCLI 1.0.56 through 1.0.161 contains a stored cross-site scripting vulnerability in the officecli watch preview that allows attackers to inject script via unescaped numbering w:color values. Attackers can craft a DOCX whose color closes the style element, then abuse the unauthenticated /api/batch endpoint to read local files and modify the watched document.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
OfficeCLI installations running versions 1.0.56 through 1.0.161 are affected when they preview a crafted DOCX through the watch preview functionality. Exploitation also relies on access to the unauthenticated /api/batch endpoint.
What does an attacker need to exploit it?
An attacker needs to craft a DOCX containing a malicious numbering marker color value that breaks out of a style element. A user must then preview the watched document, consistent with the required user interaction in the supplied severity vector.
What could an attacker do after successful exploitation?
The injected script can abuse the unauthenticated /api/batch endpoint to read local files and modify the watched document. The provided severity information indicates high confidentiality impact and low integrity impact, with no availability impact.