CVE-2026-129876 · AI agents & MCP
NO FIX YET · SEE WHAT TO DO
OfficeCLI versions 1.0.56 through 1.0.161 do not escape numbering w:color values in its watch preview, so a crafted DOCX can inject script into the preview page. The attacker can then abuse an unauthenticated /api/batch endpoint to read local files and modify the watched document.
first public Nov 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams running the OfficeCLI watch preview on a machine that opens or processes DOCX files from untrusted sources. The /api/batch endpoint is unauthenticated, so exposure depends on whether the watch server is reachable beyond the local user. Teams that do not run officecli watch or are outside the version range can skip it.
Not affected if no-untrusted-docx, outside-version-range, watch-not-running
Who cares docx, local-dev, officecli
officecli --version and compare it against the affected range 1.0.56 through 1.0.161.officecli watch is running on any machine or server, since the preview is the vulnerable path.1.0.161; the sources do not name the exact fixed release.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.
This page as .md · .json · 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/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
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.