Stored cross-site scripting in OfficeCLI watch preview
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
iOfficeAI OfficeCLI from 1.0.56 through 1.0.161 contains a stored cross-site scripting flaw in its watch preview. Unescaped numbering w:color values let attackers inject script (CWE-79). An attacker can craft a DOCX whose color closes the style element, then use the unauthenticated /api/batch endpoint to read local files and modify the watched document.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for OfficeCLI.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129876
- 2026-11-16 Alias added: GHSA-v6hm-j39x-7439
References
Other 4
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Handlers/Word/WordHandler.HtmlPreview.Markers.cs#L89-L95
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Handlers/Word/WordHandler.HtmlPreview.cs#L200-L205
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Core/Watch/WatchServer.cs#L2497-L2501
- https://github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/src/officecli/Handlers/Word/WordHandler.Add.Markdown.cs#L37-L44
Sources
- CVE-2026-129876 · CVE Program
- CVE-2026-129876 · NVD
- GHSA-v6hm-j39x-7439 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences