GHSA-cjv3-m589-v3rx: Openclaw OpenClaw Has Canvas Route Hardening Vulnerability
MODERATEGHSA-cjv3-m589-v3rx is a MODERATE openclaw has canvas route hardening vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Openclaw libraries in the npm ecosystem. The issue involves openclaw has canvas route hardening for mixed-trust deployments. Remediation is available by upgrading affected packages to version 2026.2.21.
GHSA-cjv3-m589-v3rx at a Glance
How to Fix GHSA-cjv3-m589-v3rx
To remediate this vulnerability, upgrade all affected Openclaw dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install openclaw@2026.2.21
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls openclaw
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-cjv3-m589-v3rx, inspect your project dependencies using npm:
npm ls openclaw
Analyze the terminal output to locate any version of Openclaw in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.2.21), your application is affected.
Note: The npm ls openclaw command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Openclaw, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-cjv3-m589-v3rx Affected Openclaw Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
openclaw
|
npm |
< 2026.2.21
|
2026.2.21
|
References
Frequently Asked Questions
What is GHSA-cjv3-m589-v3rx?
Which Openclaw versions are affected?
What version fixes GHSA-cjv3-m589-v3rx?
Is openclaw affected?
What CWE is associated with GHSA-cjv3-m589-v3rx?
How can I check npm dependencies for GHSA-cjv3-m589-v3rx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cjv3-m589-v3rx",
"modified" : "2026-03-03T23:17:06Z",
"published" : "2026-03-03T23:17:06Z",
"aliases" : [ ],
"summary" : "OpenClaw has Canvas route hardening for mixed-trust deployments",
"details" : "## Summary\nThis advisory tracks a defense-in-depth hardening for canvas routes. In mixed-trust or network-visible deployments, prior canvas auth/fallback behavior could broaden access beyond intended boundaries.\n\n## Deployment Context\nOpenClaw’s default model is trusted host + loopback-first access. Some operators intentionally expose canvas routes on LAN/tailnet. This update is aimed at those broader deployment patterns.\n\n## What Changed\n- Require explicit token or session-capability authorization for canvas routes.\n- Remove shared-IP fallback paths for canvas access.\n- Tighten bind/fallback behavior to fail closed.\n\n## Impact\nRisk was highest in non-loopback or mixed-trust environments. In strict single-operator trusted-host setups, practical exposure is lower.\n\n## Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Vulnerable: `<= 2026.2.19-2`\n- Patched: `2026.2.21` (next release target)\n\n## Fix Commit(s)\n- `c45f3c5b004c8d63dc0e282e2176f8c9355d24f1`\n- `08a7967936cfc0b2af6b27ec1f9272542648ad6c`\n\nThanks @NucleiAv for reporting.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "openclaw"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2026.2.21"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openclaw/openclaw/security/advisories/GHSA-cjv3-m589-v3rx"
}, {
"type" : "WEB",
"url" : "https://github.com/openclaw/openclaw/commit/08a7967936cfc0b2af6b27ec1f9272542648ad6c"
}, {
"type" : "WEB",
"url" : "https://github.com/openclaw/openclaw/commit/c45f3c5b004c8d63dc0e282e2176f8c9355d24f1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openclaw/openclaw"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1021", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-03T23:17:06Z",
"nvd_published_at" : null
}
}