Threats Tagged 'cwe-94'
View all threats tagged with 'cwe-94'. Filter and sort to focus on specific types of threats.
Stop chasing alerts. Route them.
Start free, then upgrade once to turn Radar into an automated delivery engine for your security stack.
Custom feeds / Automations: email, Slack, webhooks, SIEM/MISP / API access (baseline limits)
API access activates after upgrading in Console -> Billing.
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.
Filter Threats
Narrow down the results by type, severity, or affected countries
Threats Tagged 'cwe-94'
Click on any threat for detailed analysis and mitigation recommendations
CVE-2026-50159: CWE-94: Improper Control of Generation of Code ('Code Injection') in mermaid-js mermaidCVE-2026-50159 0 ### Summary Mermaid does not fully restrict CSS to the rendered SVG subtree. Although selectors are prefixed with `#mermaid-X`, sibling (`~` and `+`) combinators can still escape the Mermaid container and inject styles to DOM elements adjacent to the diagram `<svg>`. **Most users of mermaid would not be affected by this**, as mermaid adds its `<svg>` as an only child of it's parent element. However, you may be affected if you manually insert the `<svg>` (or other elements) into the DOM yourself. ### Details Mermaid namespaces CSS through with a middleware intended to scope all rules to the diagram's SVG element. CSS nesting expands `& ~ * { ... }` to `#svgId ~ *`, which selects all sibling elements following the SVG in the DOM, outside the diagram boundary. ### Impact An attacker able to supply diagram source to a page (e.g., user-generated content rendered by Mermaid) could inject CSS rules affecting sibling elements to the diagram `<svg>` on the host page. This can be used for UI redressing, hiding content, conditional CSS-based probing, or phishing-style visual manipulation. JavaScript execution is not possible via this vector. ### Patches This has been patched in https://github.com/mermaid-js/mermaid/commit/12d472c9ed43f94814b110da8d7a9ae6dd5266ed and released in [Mermaid v11.16.1](https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1). A backport has been made for the v10 branch in 7e83f1533318b307764d961906a73377266f4c5e and was released in [Mermaid v10.9.8](https://github.com/mermaid-js/mermaid/releases/tag/v10.9.8) ### Workarounds If you are inserting the `<svg>` into the DOM yourself, you can wrap it in an element with no other children, e.g. `<div><svg>...</svg></div>` or `element.innerHTML = svg`. Alternatively, you can use `mermaid.run()` or `mermaid.initialize()` which will do this for you. Setting ["securityLevel": "sandbox"](https://mermaid.js.org/config/schema-docs/config.html#securitylevel) will also prevent this, or setting the [`secure`](https://mermaid.js.org/config/schema-docs/config.html#secure) config value in the mermaid config to avoid allowing diagrams to modify `fontFamily`, `themeCSS`, `altFontFamily`, and `themeVariables`. To test, you can try using a `themeCSS` with `& + * { /* my CSS here */}` and see if it's applied outside of your mermaid `<svg>`. ```mermaid-example --- config: themeCSS: |- & + * { background:red !important; width:100vw !important; height:100vh !important; position:fixed !important; inset:0 !important; } --- info ``` ### References - GHSA-87f9-hvmw-gh4p/CVE-2026-41159 (related vulnerability) - https://github.com/mermaid-js/mermaid/commit/12d472c9ed43f94814b110da8d7a9ae6dd5266ed - https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1 - https://github.com/mermaid-js/mermaid/commit/7e83f1533318b307764d961906a73377266f4c5e - https://github.com/mermaid-js/mermaid/releases/tag/v10.9.8 Join the discussion | CVE Database V5 | 08/06/2026, 19:55:31 UTC Added: 08/06/2026, 22:13:26 UTC |
CVE-2026-48054: CWE-94: Improper Control of Generation of Code ('Code Injection') in OpenZeppelin contracts-wizardCVE-2026-48054 0 CVE-2026-48054 is a code injection vulnerability in OpenZeppelin Contracts Wizard versions prior to 0.10.9. The web application generates a Hardhat test file by directly interpolating user-supplied input into TypeScript string literals without proper escaping. This allows an attacker to craft a malicious URL that injects Node.js code, which executes with the developer's local OS privileges when the test is run. The issue is fixed in version 0.10.9. Join the discussion | CVE Database V5 | 08/06/2026, 21:37:54 UTC Added: 08/06/2026, 22:13:22 UTC |
CVE-2026-18968: Cross Site Scripting in ttttonyhe OBlogCVE-2026-18968 0 A cross-site scripting (XSS) vulnerability exists in the ttttonyhe OBlog software affecting the /tags.php file via manipulation of the 'day' argument. The vulnerability can be exploited remotely and requires user interaction. The product uses a rolling release system, so specific affected or fixed versions are not disclosed. The vendor has not responded to the disclosure. The CVSS score is 4.3, indicating a low severity issue. Join the discussion | GCVE Database | 08/05/2026, 23:00:10 UTC Added: 08/06/2026, 18:17:19 UTC |
CVE-2026-66709: CWE-94 Improper Control of Generation of Code ('Code Injection') in WebAppick CTX FeedCVE-2026-66709 0 Shop manager Remote Code Execution (RCE) in CTX Feed <= 6.6.42 versions. Join the discussion | CVE Database V5 | 08/06/2026, 14:28:10 UTC Added: 08/06/2026, 14:42:12 UTC |
CVE-2026-65553: CWE-94 Improper Control of Generation of Code ('Code Injection') in wbolt.com Spider Analyser – WordPress搜索引擎蜘蛛分析插件CVE-2026-65553 0 Unauthenticated Remote Code Execution (RCE) in Spider Analyser – WordPress搜索引擎蜘蛛分析插件 <= 2.1.3 versions. Join the discussion | CVE Database V5 | 08/06/2026, 14:27:36 UTC Added: 08/06/2026, 14:42:03 UTC |
CVE-2026-65548: CWE-94 Improper Control of Generation of Code ('Code Injection') in Muffingroup BethemeCVE-2026-65548 0 Contributor Remote Code Execution (RCE) in Betheme <= 28.4.2 versions. Join the discussion | CVE Database V5 | 08/06/2026, 14:27:34 UTC Added: 08/06/2026, 14:42:01 UTC |
CVE-2026-67531: CWE-94: Improper Control of Generation of Code ('Code Injection') in agentfront frontmcpCVE-2026-67531 0 FrontMCP is a TypeScript-first framework for the Model Context Protocol (MCP). Prior to 1.5.7, the sandboxed codecall:execute tool exposes live host Zod schema instances to the script via getTool(), and because Zod v4 defines _zod as a non-configurable, non-writable own property, the ECMAScript Proxy invariants force the security membrane to hand back the raw host object, letting a script reach _zod.constr.constructor (the host Function constructor) and execute arbitrary code in the server process. A single tools/call is sufficient to escape the sandbox and achieve remote code execution as the server user, exposing everything the process holds such as OAuth client secrets, JWT_SECRET, session keys, database credentials, and cloud instance metadata. Because the framework's DEFAULT_AUTH_OPTIONS is public mode, an unconfigured server serves this to unauthenticated callers, and on authenticated servers an indirect prompt injection in tool output or fetched content can trigger it without a human attackerThis issue is fixed in version 1.5.7. Join the discussion | CVE Database V5 | 08/05/2026, 22:54:36 UTC Added: 08/05/2026, 23:26:44 UTC |
CVE-2026-71319: CWE-94: Improper Control of Generation of Code ('Code Injection') in nuxt devtoolsCVE-2026-71319 0 Nuxt is an open-source web development framework for Vue.js. Prior to 3.3.1, Nuxt DevTools (development mode only) exposes a bidirectional RPC channel over the Vite HMR WebSocket via the nuxt:devtools:rpc plugin. On affected versions the channel has no authentication: any client that can reach the Vite HMR endpoint (ws://<host>:<port>/, subprotocol vite-hmr) can call RPC methods, with no token, handshake, or origin check before the channel is established. The updateOptions(), clearOptions(), and openInEditor() methods do not enforce the ensureDevAuthToken check that the other mutating methods use. openInEditor() reads the persisted behavior.openInEditor value and passes it to the launch-editor package, which spawns it as a child process. That value is settable through the equally unauthenticated updateOptions(). An attacker who can reach the HMR port can therefore chain updateOptions('behavior', { openInEditor: '<command>' }) then openInEditor('<any-existing-file>') to execute an arbitrary program on the developer's machine. This issue is fixed in 3.3.1. Join the discussion | CVE Database V5 | 08/05/2026, 21:26:59 UTC Added: 08/05/2026, 21:41:58 UTC |
CVE-2026-55522: CWE-94: Improper Control of Generation of Code ('Code Injection') in MervinPraison PraisonAICVE-2026-55522 0 PraisonAI is a multi-agent teams system. In versions 3.9.26 through 4.6.57 of praiseonai and 0.12.12 through 1.6.57 of praiseonaiagents, the workflow "include" feature is vulnerable to code execution. Workflow._execute_include() implicitly imports and runs an included recipe's tools.py via a raw importlib.util.spec_from_file_location() and spec.loader.exec_module() call, without honoring the PRAISONAI_ALLOW_TEMPLATE_TOOLS/PRAISONAI_ALLOW_LOCAL_TOOLS autoload opt-in gates or routing through the centralized safe loader that protects the other tools.py autoload paths. As a result, a workflow that includes an attacker-controlled local recipe directory executes arbitrary module-level Python code during include setup, before any child workflow parsing or model call, and the same sink is reachable through the higher-level praisonai.recipe.run() recipe API. An attacker who can cause a victim process to run a workflow or recipe that includes an untrusted local recipe achieves arbitrary Python code execution as the PraisonAI process user, a variant that bypasses the hardening applied to the previously disclosed automatic tools.py RCE advisory family. This issue has been fixed in version 4.6.58 of praisonai and 1.6.58 of praisonaiagents. Join the discussion | CVE Database V5 | 08/05/2026, 19:01:43 UTC Added: 08/05/2026, 19:42:08 UTC |
CVE-2026-9196: CWE-94 Improper Control of Generation of Code ('Code Injection') in IBM Langflow OSSCVE-2026-9196 0 IBM Langflow OSS 1.0.0 through 1.10.3 could allow an authenticated attacker to execute unintended code during Agentic Assistant validation due to improper handling of LLM‑generated components. The application executes model‑generated Python code in the backend during validation prior to user approval, which may allow an attacker to trigger side effects such as outbound network access, file system interaction, or data exfiltration with the privileges of the Langflow backend process. Join the discussion | CVE Database V5 | 08/05/2026, 18:27:39 UTC Added: 08/05/2026, 19:12:03 UTC |
Showing 1 to 10 of 116 results