{"id":"CVE-2026-121588","kind":"vulnerability","aliases":["CVE-2026-121588"],"related":[],"title":"TeXlyre: stored XSS via malicious LSP or typesetter recipe icons","description":"TeXlyre from 0.11.0 before 0.13.5 contains a stored cross-site scripting vulnerability that allows attackers to execute script by supplying malicious LSP or typesetter recipe icons. Attackers can trick victims into importing a recipe whose icon contains an HTML event handler, persistently accessing local projects and repository credentials.","summary":"TeXlyre versions 0.11.0 before 0.13.5 render HTML from recipe icons without sanitizing them, so a crafted recipe can run script in the app. An attacker who tricks a user into importing that recipe can reach local projects and repository credentials.","severity":"medium","cvss":6.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["latex","package","texlyre","web-editor"],"not_affected_if":["fixed-version","no-untrusted-recipes"],"how_to_check":"- Check the installed TeXlyre version; affected versions are 0.11.0 up to but not including `0.13.5`.\n- Review any LSP or typesetter recipes imported from outside sources for HTML event handlers in icon fields.","fix":"- Move to `0.13.5` or later.","status":"open","published_at":"2026-11-03T17:18:11+00:00","first_seen_at":"2026-11-03T17:21:56+00:00","triaged_at":"2026-11-03T17:24:20+00:00","updated_at":"2026-11-03T17:24:20+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-03T17:24:20Z","model":"claude-haiku-5-5","output":{"fix":"- Move to `0.13.5` or later.","reach":"internet","title":"TeXlyre: stored XSS via malicious LSP or typesetter recipe icons","impact":"medium","summary":"TeXlyre versions 0.11.0 before 0.13.5 render HTML from recipe icons without sanitizing them, so a crafted recipe can run script in the app. An attacker who tricks a user into importing that recipe can reach local projects and repository credentials.","audience":"developers","category":"package","nicknames":[],"who_cares":["texlyre","latex","web-editor"],"confidence":0.6,"fix_status":"available","needs_auth":"no","worst_case":"script runs in the app, exposing local projects and repository credentials","analyst_note":"","how_to_check":"- Check the installed TeXlyre version; affected versions are 0.11.0 up to but not including `0.13.5`.\n- Review any LSP or typesetter recipes imported from outside sources for HTML event handlers in icon fields.","plain_action":"","needs_analyst":false,"not_affected_if":["fixed-version","no-untrusted-recipes"],"who_is_affected":"Users of the TeXlyre editor in versions 0.11.0 through 0.12.x who import recipes from untrusted sources. Exposure requires a victim to import a malicious recipe; installations that only use built-in recipes are not described as affected.","user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000677,"input_tokens":4203,"output_tokens":513,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-121588':13A,16A '-2026':12A,15A '0.11.0':25B,65C '0.13.5':27B,67C 'access':106C 'allow':77C 'app':45B 'attack':47B,78C,90C 'contain':68C,100C 'craft':38B 'credenti':62B,111C 'cross':72C 'cross-sit':71C 'cve':11A,14A 'editor':22B 'event':103C 'execut':80C 'handler':104C 'html':29B,102C 'icon':10A,32B,89C,99C 'import':53B,95C 'latex':17B 'local':58B,107C 'lsp':6A,85C 'malici':5A,84C 'packag':18B 'persist':105C 'project':59B,108C 'reach':57B 'recip':9A,31B,39B,55B,88C,97C 'render':28B 'repositori':61B,110C 'run':41B 'sanit':34B 'script':42B,74C,81C 'site':73C 'store':2A,70C 'suppli':83C 'texlyr':1A,19B,23B,63C 'trick':49B,92C 'typesett':8A,87C 'user':51B 'version':24B 'via':4A 'victim':93C 'vulner':75C 'web':21B 'web-editor':20B 'whose':98C 'without':33B 'xss':3A","nicknames":[],"mitigations":[],"who_affected":"Users of the TeXlyre editor in versions 0.11.0 through 0.12.x who import recipes from untrusted sources. Exposure requires a victim to import a malicious recipe; installations that only use built-in recipes are not described as affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["latex","medium","package","texlyre","webeditor"],"campaign_type":null,"first_public_at":"2026-10-28T20:44:45+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/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-121588","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121588","severity":null,"published_at":"2026-11-03T17:18:11+00:00","modified_at":"2026-11-03T17:18:11+00:00","first_seen_at":"2026-11-03T17:21:56+00:00","fetched_at":"2026-11-03T17:21:56+00:00","note":null}],"documents":[{"id":59252,"url":"https://github.com/TeXlyre/texlyre/commit/92b50ca050af8473f0fd51a048a7e1d60dcdb2dc","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":59253,"url":"https://github.com/TeXlyre/texlyre/security/advisories/GHSA-gg75-v533-34cq","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-10-28T20:44:45+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":59254,"url":"https://www.vulncheck.com/advisories/texlyre-from-0.11.0-before-0.13.5-stored-xss-via-recipe-icon-import","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"}],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}