OfficeCLI 1.0.56 through 1.0.161 Stored XSS via Watch Preview List Marker Color
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 16, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 16, 2026
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.
| Product | Versions |
|---|---|
| OfficeCLI iOfficeAI | 1.0.56 through 1.0.161 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://vul.yulun.ac.cn/20261106/officecli/Third-Party Advisory
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Handlers/Word/WordHandler.HtmlPreview.Markers.cs#L89-L95Technical Details
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Handlers/Word/WordHandler.HtmlPreview.cs#L200-L205Technical Details
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Core/Watch/WatchServer.cs#L2497-L2501Technical Details
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Handlers/Word/WordHandler.Add.Markdown.cs#L37-L44Technical Details
- VulnCheck Advisory: OfficeCLI 1.0.56 through 1.0.161 Stored XSS via Watch Preview List Marker ColorThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.