OfficeCLI stored XSS in DOCX watch preview
iOfficeAI OfficeCLI
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| iOfficeAI OfficeCLI |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck