CVE-2026-129876
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. High risk of data exposure.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Received
Affected
- iOfficeAI OfficeCLI ≤ 1.0.161
Attack profile CVSS 4.0 · 6.8
- Attack vector
- Local
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- None
- User interaction
- Active
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Raw vector
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
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-129876.md and follow it. Check whether this project is affected by CVE-2026-129876. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- 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
- 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://vul.yulun.ac.cn/20261106/officecli/
- https://www.vulncheck.com/advisories/officecli-1.0.56-through-1.0.161-stored-xss-via-watch-preview-list-marker-color