{"id":"CVE-2026-53841","title":"OpenClaw: Exported session HTML could keep unsafe markdown links","summary":"OpenClaw: Exported session HTML could keep unsafe markdown links","severity":"medium","cvss":6.1,"cwe":["CWE-79"],"vendor":"openclaw","product":"openclaw","affected":["openclaw <= 2026.5.7"],"patched":["openclaw 2026.5.12"],"published":"2026-06-18","updated":"2026-06-18","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-w9hf-3pp7-pvxv","references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-w9hf-3pp7-pvxv"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53841"},{"url":"https://www.vulncheck.com/advisories/openclaw-cross-site-scripting-via-unsafe-markdown-links-in-exported-session-html"},{"url":"https://github.com/advisories/GHSA-w9hf-3pp7-pvxv"}],"tags":["ghsa","npm"],"epss":0.00188,"epssPercentile":0.08679,"ingestedAt":"2026-06-19T03:39:00.781Z","ecosystem":"npm","slug":"CVE-2026-53841","body":"## Overview\n\n### Summary\n\nExported session HTML could keep unsafe markdown links. In affected versions, content rendered into an exported session could preserve unsafe `javascript:` or `data:` links in generated HTML.\n\nThis advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.\n\n### Impact\n\nWhen the affected feature is enabled and reachable, this could run browser-side script if a trusted operator opens the exported file and activates the link. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.\n\n### Patched Versions\n\nThe first stable patched version is `2026.5.12`.\n\n### Mitigations\n\ndo not open exported session HTML from untrusted content in a privileged browser profile until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.\n\n## Affected packages\n\n- `openclaw <= 2026.5.7`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `openclaw 2026.5.12`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}