Common Weakness Enumeration

CWE-913

Weakness Allowed-with-Review

Improper Control of Dynamically-Managed Code Resources

Abstraction: Class · Status: Incomplete

The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.

Mapping guidance

This CWE entry is a Class and might have Base-level children that would be more appropriate

Examine children of this entry to see if there is a better fit

Relationships and members
ChildOf: CWE-664 · View CWE-1000
Modes of introduction
Architecture and Design
Implementation
Detection methods

Fuzzing

Fuzz testing (fuzzing) is a powerful technique for generating large numbers of diverse inputs - either randomly or algorithmically - and dynamically invoking the code with those inputs. Even with random inputs, it is often capable of generating unexpected results such as crashes, memory corruption, or resource consumption. Fuzzing effectively produces repeatable test cases that clearly indicate bugs, which helps developers to diagnose the issues.

Effectiveness: High

Content history
Submission: CWE Content Team · MITRE · 2013-01-26 · CWE 2.4
Modification: CWE Content Team · MITRE · 2015-12-07 · CWE 2.9

updated Relationships

Modification: CWE Content Team · MITRE · 2017-01-19 · CWE 2.10

updated Relationships

Modification: CWE Content Team · MITRE · 2017-11-08 · CWE 3.0

updated Relationships

Modification: CWE Content Team · MITRE · 2019-06-20 · CWE 3.3

updated Relationships

Modification: CWE Content Team · MITRE · 2020-02-24 · CWE 4.0

updated Relationships

Modification: CWE Content Team · MITRE · 2020-06-25 · CWE 4.1

updated Potential_Mitigations

Modification: CWE Content Team · MITRE · 2021-10-28 · CWE 4.6

updated Relationships

Modification: CWE Content Team · MITRE · 2023-01-31 · CWE 4.10

updated Description

Modification: CWE Content Team · MITRE · 2023-04-27 · CWE 4.11

updated Detection_Factors, Relationships

Modification: CWE Content Team · MITRE · 2023-06-29 · CWE 4.12

updated Mapping_Notes

Modification: CWE Content Team · MITRE · 2023-10-26 · CWE 4.13

updated Observed_Examples

Modification: CWE Content Team · MITRE · 2025-12-11 · CWE 4.19

updated Applicable_Platforms, Demonstrative_Examples, Weakness_Ordinalities

Modification: CWE Content Team · MITRE · 2026-10-28 · CWE 5.0

updated Background_Details, Description

224 vulnerabilities reference this CWE, most recent first.

GHSA-XGPM-XF5G-45M5

Vulnerability from github – Published: 2025-12-05 15:30 – Updated: 2025-12-05 15:30
VLAI
Details

A vulnerability has been found in youlaitech youlai-mall 1.0.0/2.0.0. This impacts an unknown function of the file /app-api/v1/orders/. The manipulation of the argument orderId leads to improper control of dynamically-identified variables. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-14085"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-913"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-12-05T14:15:48Z",
    "severity": "MODERATE"
  },
  "details": "A vulnerability has been found in youlaitech youlai-mall 1.0.0/2.0.0. This impacts an unknown function of the file /app-api/v1/orders/. The manipulation of the argument orderId leads to improper control of dynamically-identified variables. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.",
  "id": "GHSA-xgpm-xf5g-45m5",
  "modified": "2025-12-05T15:30:26Z",
  "published": "2025-12-05T15:30:26Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-14085"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Hwwg/cve/issues/23"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?ctiid.334476"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?id.334476"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?submit.695943"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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",
      "type": "CVSS_V4"
    }
  ]
}

GHSA-XH7P-RGF9-78JV

Vulnerability from github – Published: 2025-07-08 09:31 – Updated: 2025-07-08 09:31
VLAI
Details

An unauthenticated remote attacker can alter the device configuration in a way to get remote code execution as root with specific configurations.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-25270"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-913"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-07-08T07:15:25Z",
    "severity": "CRITICAL"
  },
  "details": "An unauthenticated remote attacker can alter the device configuration in a way to get remote code execution as root with specific configurations.",
  "id": "GHSA-xh7p-rgf9-78jv",
  "modified": "2025-07-08T09:31:29Z",
  "published": "2025-07-08T09:31:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-25270"
    },
    {
      "type": "WEB",
      "url": "https://certvde.com/de/advisories/VDE-2025-019"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-XJ72-WVFV-8985

Vulnerability from github – Published: 2023-04-12 20:42 – Updated: 2023-04-14 21:35
VLAI
Summary
vm2 Sandbox Escape vulnerability
Details

There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass handleException() and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context.

Impact

A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.

Patches

This vulnerability was patched in the release of version 3.9.16 of vm2.

Workarounds

None.

References

Github Issue - https://github.com/patriksimek/vm2/issues/516 PoC - https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c

For more information

If you have any questions or comments about this advisory:

  • Open an issue in VM2

Thanks to Xion (SeungHyun Lee) of KAIST Hacking Lab for disclosing this vulnerability.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "vm2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.9.16"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2023-29199"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-913"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-12T20:42:44Z",
    "nvd_published_at": "2023-04-14T19:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context.\n\n### Impact\nA threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.\n\n### Patches\nThis vulnerability was patched in the release of version `3.9.16` of `vm2`.\n\n### Workarounds\nNone.\n\n### References\nGithub Issue - https://github.com/patriksimek/vm2/issues/516\nPoC - https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Open an issue in [VM2](https://github.com/patriksimek/vm2)\n\nThanks to [Xion](https://twitter.com/0x10n) (SeungHyun Lee) of [KAIST Hacking Lab](https://kaist-hacking.github.io/) for disclosing this vulnerability.",
  "id": "GHSA-xj72-wvfv-8985",
  "modified": "2023-04-14T21:35:01Z",
  "published": "2023-04-12T20:42:44Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29199"
    },
    {
      "type": "WEB",
      "url": "https://github.com/patriksimek/vm2/issues/516"
    },
    {
      "type": "WEB",
      "url": "https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/patriksimek/vm2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/patriksimek/vm2/releases/tag/3.9.16"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "vm2 Sandbox Escape vulnerability"
}

GHSA-XPG4-95GJ-6464

Vulnerability from github – Published: 2026-11-25 21:30 – Updated: 2026-11-25 21:30
VLAI
Details

A vulnerability was identified in slowlyo owl-admin up to 4.7.7. Affected by this issue is the function fillModelFromData of the file src/Services/AdminService.php. The manipulation of the argument id/remember_token/enabled leads to dynamically-determined object attributes. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. Upgrading to version 4.7.8 can resolve this issue. The identifier of the patch is 9b0c98dc3e2710b2ba8d7579da89ec6a4042fcc8. It is advisable to upgrade the affected component.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-136725"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-913"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-25T19:17:37Z",
    "severity": "LOW"
  },
  "details": "A vulnerability was identified in slowlyo owl-admin up to 4.7.7. Affected by this issue is the function fillModelFromData of the file src/Services/AdminService.php. The manipulation of the argument id/remember_token/enabled leads to dynamically-determined object attributes. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. Upgrading to version 4.7.8 can resolve this issue. The identifier of the patch is 9b0c98dc3e2710b2ba8d7579da89ec6a4042fcc8. It is advisable to upgrade the affected component.",
  "id": "GHSA-xpg4-95gj-6464",
  "modified": "2026-11-25T21:30:37Z",
  "published": "2026-11-25T21:30:37Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136725"
    },
    {
      "type": "WEB",
      "url": "https://github.com/slowlyo/owl-admin/issues/252"
    },
    {
      "type": "WEB",
      "url": "https://github.com/slowlyo/owl-admin/pull/253"
    },
    {
      "type": "WEB",
      "url": "https://github.com/slowlyo/owl-admin/commit/9b0c98dc3e2710b2ba8d7579da89ec6a4042fcc8"
    },
    {
      "type": "WEB",
      "url": "https://github.com/slowlyo/owl-admin"
    },
    {
      "type": "WEB",
      "url": "https://github.com/slowlyo/owl-admin/releases/tag/v4.7.8"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/cve/CVE-2026-136725"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/submit/1058910"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/vuln/443676"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/vuln/443676/cti"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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",
      "type": "CVSS_V4"
    }
  ]
}

Mitigation
Implementation

Strategy: Input Validation

For any externally-influenced input, check the input against an allowlist of acceptable values.

Mitigation
Implementation Architecture and Design

Strategy: Refactoring

Refactor the code so that it does not need to be dynamically managed.

No CAPEC attack patterns related to this CWE.