Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted DOCX to victim
-
DeliveryVictim opens file in watch preview
-
Exploitw:color closes style element, injects script
-
ExecutionStored XSS executes in preview context
-
PersistScript calls unauthenticated /api/batch
-
ImpactRead local files and modify watched document
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the victim to run OfficeCLI (versions 1.0.56 through 1.0.161) in watch/preview mode and to open or watch an attacker-crafted DOCX whose list-numbering w:color value is shaped to close the HTML style element (UI:A, active user interaction). Once the stored XSS fires in the preview, the chain abuses the /api/batch endpoint, which is described as unauthenticated (PR:N), to read local files and modify the watched document. Limiting factors: the attack is Local (AV:L) and cannot proceed without the victim loading the malicious document in the watch preview; it also depends on the user actually running watch mode and on the /api/batch endpoint being reachable in that deployment. No fix version is stated in the input, so remediation beyond avoiding untrusted documents in watch mode is unverified. |
| Impact | This is a medium-severity issue (CVSS 4.0 base 6.8) whose real-world priority is moderate, not critical. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A) shows the two factors that most constrain risk: the vector is Local, and exploitation requires active user interaction (UI:A) - specifically a victim running OfficeCLI's watch/preview mode against an attacker-supplied DOCX. Those constraints are offset by high confidentiality impact (VC:H, the chain reads local files) plus low integrity impact (VI:L, it can modify the watched document) and by the fact that the abused /api/batch endpoint is described as unauthenticated (consistent with PR:N). The vuln.today decision label is 'this_month' - meaningful but explicitly NOT act_now or emergency. No EPSS score, no CISA KEV entry, and no confirmed working exploit are present in the input, so there is no signal of active or automated exploitation; this points to targeted, interaction-dependent abuse rather than widespread opportunistic attacks. Conflicting/missing-signal note: the CVSS vector is Local (AV:L) yet the mechanism reaches an unauthenticated network-style HTTP endpoint (/api/batch) - the Local rating likely reflects that the victim must first load the malicious document locally in watch mode; verify the deployment topology (whether the watch server is network-exposed) with the vendor, as that materially changes the attack vector. |
| Exploit ScenarioDerived | An attacker crafts a DOCX whose list-numbering w:color value is formed to close the surrounding HTML style element, injecting script that executes when a victim opens the file in OfficeCLI's watch preview. The injected script then calls the unauthenticated /api/batch endpoint to read arbitrary local files and to modify the document currently being watched. No confirmed working exploit is identified in the input, though VulnCheck's advisory and GitHub source-line references document the flaw; local vector and required user interaction (UI:A) mean the victim must actively open or watch the malicious document. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Stored cross-site scripting in the OfficeCLI watch preview (versions 1.0.56 through 1.0.161) lets an attacker-crafted DOCX inject script through an unescaped list-numbering w:color value that closes the generated HTML style element. When the malicious document is opened in watch/preview mode, the injected script can chain into the /api/batch endpoint, which the source describes as unauthenticated, to read local files and modify the watched document. The attack requires the victim to actively run OfficeCLI in watch mode and load the crafted file, keeping base severity at medium (CVSS 4.0 base 6.8; assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N); no public exploit code or active exploitation is identified in the available data, and no fixed version is stated in the input.
RemediationAI
No vendor-released patch version is identified in the available data, so remediation cannot be pinned to a fixed release; check the VulnCheck advisory (https://www.vulncheck.com/advisories/officecli-1.0.56-through-1.0.161-stored-xss-via-watch-preview-list-marker-color) and the upstream repository at commit 91c06b6f5c80e3f33d957ff0426672f558efa25e for a patched build before upgrading. Until one is confirmed, the practical control is to avoid opening or watching untrusted DOCX files in OfficeCLI watch/preview mode for versions 1.0.56 through 1.0.161, since the payload only fires when a crafted document is rendered in that preview; the trade-off is loss of the live preview workflow for external documents. Because the post-exploitation step depends on the local /api/batch endpoint being reachable from the preview origin, restricting that endpoint to loopback-only access with an authenticating proxy, or not exposing the watch server beyond the local host, removes the file-read and document-modification path, at the cost of breaking any legitimate automation that calls /api/batch. Both measures are compensating only; the underlying unescaped w:color rendering is unfixed in the identified versions and updating remains the only complete fix once a patched release is published.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OfficeCLI is a .NET/C
office-document tool that renders Word documents to HTML for its watch-mode live preview. The affected code paths are the Word HTML preview marker renderer (WordHandler.HtmlPreview.Markers.cs, lines 89-95), the general HTML preview builder (WordHandler.HtmlPreview.cs, lines 200-205), the watch-mode HTTP server (Core/Watch/WatchServer.cs, lines 2497-2501) and the markdown add handler (WordHandler.Add.Markdown.cs, lines 37-44), all at commit 91c06b6f5c80e3f33d957ff0426672f558efa25e. The root cause is CWE-79 (improper neutralization of input during web page generation): the w:color attribute of a DOCX list-numbering definition is interpolated into a <style> block without HTML encoding, so a crafted color value can terminate the style element and inject arbitrary markup/script into the preview page. Because the preview is served by the local watch server, the injected script executes in the origin of that server and can reach its local API surface, including /api/batch, which the source describes as unauthenticated and which can read local files and rewrite the watched document. The exact parsing and escaping behavior in each of the referenced handlers is not described in the supplied sources; the trigger details above are those stated in the advisory text, and the CVSS metrics describe severity only, not the trigger mechanism.
Know when Officecli gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Local because the victim must open a crafted DOCX in watch mode (UI:R); PR:N since the abused /api/batch endpoint is unauthenticated; C:H for local file read, I:L for document modification, A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-126444
GHSA-v6hm-j39x-7439
NVD
CVE.org
EPSS
Exploit-DB