Stored Cross-Site Scripting in OfficeCLI Affects Document Previews
CVE-2026-129876
6.8MEDIUM
What is CVE-2026-129876?
OfficeCLI versions 1.0.56 through 1.0.161 are vulnerable to a stored cross-site scripting flaw. This issue arises from the unescaped numbering w:color values used in the officecli watch preview feature. Malicious actors can craft a specially designed DOCX file that improperly closes the style element. By exploiting this vulnerability via the unauthenticated /api/batch endpoint, attackers can potentially access local files and manipulate the watched documents, leading to unauthorized actions.
Affected Version(s)
OfficeCLI 1.0.56 <= 1.0.161
