{"id":"CVE-2026-129876","kind":"vulnerability","aliases":["CVE-2026-129876"],"related":[],"title":"OfficeCLI: stored XSS in watch preview lets crafted DOCX run script","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.","summary":"OfficeCLI versions 1.0.56 through 1.0.161 do not escape numbering w:color values in its watch preview, so a crafted DOCX can inject script into the preview page. The attacker can then abuse an unauthenticated /api/batch endpoint to read local files and modify the watched document.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ai-tooling","docx","local-dev","officecli"],"not_affected_if":["no-untrusted-docx","outside-version-range","watch-not-running"],"how_to_check":"- Check the installed OfficeCLI version with `officecli --version` and compare it against the affected range 1.0.56 through 1.0.161.\n- Find out whether `officecli watch` is running on any machine or server, since the preview is the vulnerable path.\n- Confirm whether the watch server is reachable from networks other than the local machine.","fix":"- Move to a version later than `1.0.161`; the sources do not name the exact fixed release.","status":"open","published_at":"2026-11-16T15:17:26+00:00","first_seen_at":"2026-11-16T15:37:54+00:00","triaged_at":"2026-11-16T15:40:39+00:00","updated_at":"2026-11-16T15:40:39+00:00","category":"ai-tooling","confidence":0.6,"triage":{"at":"2026-11-16T15:40:39Z","model":"claude-haiku-5-5","output":{"fix":"- Move to a version later than `1.0.161`; the sources do not name the exact fixed release.","reach":"network","title":"OfficeCLI: stored XSS in watch preview lets crafted DOCX run script","impact":"medium","summary":"OfficeCLI versions 1.0.56 through 1.0.161 do not escape numbering w:color values in its watch preview, so a crafted DOCX can inject script into the preview page. The attacker can then abuse an unauthenticated /api/batch endpoint to read local files and modify the watched document.","audience":"developers","category":"ai-tooling","nicknames":[],"who_cares":["officecli","docx","local-dev"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"attacker reads local files and modifies the watched document","analyst_note":"Confirm the fixed OfficeCLI version and whether the /api/batch endpoint is exposed by default in the vulnerable range; check the VulnCheck advisory.","how_to_check":"- Check the installed OfficeCLI version with `officecli --version` and compare it against the affected range 1.0.56 through 1.0.161.\n- Find out whether `officecli watch` is running on any machine or server, since the preview is the vulnerable path.\n- Confirm whether the watch server is reachable from networks other than the local machine.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["outside-version-range","watch-not-running","no-untrusted-docx"],"who_is_affected":"Teams running the OfficeCLI watch preview on a machine that opens or processes DOCX files from untrusted sources. The /api/batch endpoint is unauthenticated, so exposure depends on whether the watch server is reachable beyond the local user. Teams that do not run officecli watch or are outside the version range can skip it.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000794,"input_tokens":4610,"output_tokens":665,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129876':14A,17A '-2026':13A,16A '/api/batch':60B,115C '1.0.161':30B,74C '1.0.56':28B,72C 'abus':57B,112C 'ai':19B 'ai-tool':18B 'allow':89C 'attack':54B,90C,100C 'close':107C 'color':36B,98C,106C 'contain':75C 'craft':8A,44B,102C 'cross':79C 'cross-sit':78C 'cve':12A,15A 'dev':24B 'document':70B,125C 'docx':9A,21B,45B,104C 'element':110C 'endpoint':61B,116C 'escap':33B 'file':65B,120C 'inject':47B,92C 'let':7A 'local':23B,64B,119C 'local-dev':22B 'modifi':67B,122C 'number':34B,96C 'officec':1A,25B,26B,71C,85C 'page':52B 'preview':6A,41B,51B,87C 'read':63B,118C 'run':10A 'script':11A,48B,81C,93C 'site':80C 'store':2A,77C 'style':109C 'tool':20B 'unauthent':59B,114C 'unescap':95C 'valu':37B,99C 'version':27B 'via':94C 'vulner':82C 'w':35B,97C 'watch':5A,40B,69B,86C,124C 'whose':105C 'xss':3A","nicknames":[],"mitigations":[],"who_affected":"Teams running the OfficeCLI watch preview on a machine that opens or processes DOCX files from untrusted sources. The /api/batch endpoint is unauthenticated, so exposure depends on whether the watch server is reachable beyond the local user. Teams that do not run officecli watch or are outside the version range can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["aitooling","docx","localdev","medium","officecli"],"campaign_type":null,"search_a":"'-129876':14A,17A '-2026':13A,16A 'craft':8A 'cve':12A,15A 'docx':9A 'let':7A 'officec':1A 'preview':6A 'run':10A 'script':11A 'store':2A 'watch':5A 'xss':3A","search_b":"'/api/batch':60B '1.0.161':30B '1.0.56':28B 'abus':57B 'ai':19B 'ai-tool':18B 'attack':54B 'color':36B 'craft':44B 'dev':24B 'document':70B 'docx':21B,45B 'endpoint':61B 'escap':33B 'file':65B 'inject':47B 'local':23B,64B 'local-dev':22B 'modifi':67B 'number':34B 'officec':25B,26B 'page':52B 'preview':41B,51B 'read':63B 'script':48B 'tool':20B 'unauthent':59B 'valu':37B 'version':27B 'w':35B 'watch':40B,69B","search_c":"'/api/batch':115C '1.0.161':74C '1.0.56':72C 'abus':112C 'allow':89C 'attack':90C,100C 'close':107C 'color':98C,106C 'contain':75C 'craft':102C 'cross':79C 'cross-sit':78C 'document':125C 'docx':104C 'element':110C 'endpoint':116C 'file':120C 'inject':92C 'local':119C 'modifi':122C 'number':96C 'officec':71C,85C 'preview':87C 'read':118C 'script':81C,93C 'site':80C 'store':77C 'style':109C 'unauthent':114C 'unescap':95C 'valu':99C 'via':94C 'vulner':82C 'w':97C 'watch':86C,124C 'whose':105C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:26+00:00","kev":null,"cvss_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","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129876","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129876","severity":null,"published_at":"2026-11-16T15:17:26+00:00","modified_at":"2026-11-16T15:17:26+00:00","first_seen_at":"2026-11-16T15:37:54+00:00","fetched_at":"2026-11-16T15:37:54+00:00","note":null}],"documents":[{"id":170597,"url":"https://www.vulncheck.com/advisories/officecli-1.0.56-through-1.0.161-stored-xss-via-watch-preview-list-marker-color","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}