XSS in Iofficeai Officecli
CVE-2026-129876
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N.
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- vul.yulun.ac.cn/20261106/officecli/ (third-party-advisory)
- github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/sr… (technical-description)
- github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/sr… (technical-description)
- github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/sr… (technical-description)
- github.com/iOfficeAI/OfficeCLI/blob/91c06b6f5c80e3f33d957ff0426672f558efa25e/sr… (technical-description)
- www.vulncheck.com/advisories/officecli-1.0.56-through-1.0.161-stored-xss-via-wa… (third-party-advisory)