Security Resilience

CWE · MITRE source

CWE-470Use of Externally-Controlled Input to Select Classes or Code

Abstraction: Base · CVEs in our corpus: 166

The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

An attacker could supply values to select unexpected classes or methods. If this occurs, then the attacker could create control flow paths that were not intended by the developer. These paths could bypass authentication or access control checks, or otherwise cause the product to behave in an unexpected manner. This situation becomes a doomsday scenario if the attacker can upload files into a location that appears on the product's classpath (CWE-427) or add new entries to the product's classpath (CWE-426). Under either of these conditions, the attacker can use reflection to introduce new, malicious behavior into the product.

Last updated: 28 November 2026 01:40 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 20 mapping(s) from 4 framework(s): ATT&CK 8 (full) · ISO_IEC_27002_2022 6 (mostly) · 3 (mostly) · 800-53 3 (mostly)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A05:2025 Injection.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • SC-44 Detonation Chambers
  • PR.PS-06
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

Our mappings

NIST 800-53 r5 controls PROPOSED for this weakness (1)

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

Control Title Family Why it addresses this CWE
SC-44Detonation ChambersSCExternally controlled class or code selection can be resolved and invoked inside the chamber, surfacing unsafe reflection without system impact.
Our mappings

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).

Direction: ← other covers this; → this covers other (F/M/P = full / mostly / partial). gov = governs / implements (a mandate, not coverage).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2021-21985 KEV 9.99.81.00002021-05-26
CVE-2026-90436 KEV 9.99.80.02702026-11-06
CVE-2026-82078 KEV 9.09.10.03522026-08-28
CVE-2018-1000613 7.99.80.04772018-07-09
CVE-2019-1003040 7.89.80.03432019-03-28
CVE-2019-1003041 7.89.80.03432019-03-28
CVE-2021-31522 7.89.80.03002022-01-06
CVE-2026-1166927.89.80.03712026-10-27
CVE-2023-6943 7.79.80.01952024-01-30
CVE-2019-257827.79.80.02202026-11-18
CVE-2025-34393 7.69.80.01712025-12-10
CVE-2026-1348807.69.80.01362026-11-24
CVE-2025-53693 7.59.80.01062025-09-03
CVE-2026-42027 7.59.80.01272026-05-04
CVE-2026-465627.59.80.00982026-07-16
CVE-2026-44416 7.59.80.01242026-08-10
CVE-2026-62379 7.59.80.01072026-09-15
CVE-2026-551077.510.00.00912026-09-30
CVE-2026-163067.59.80.00982026-11-02
CVE-2024-4990 7.49.10.03452025-03-20
CVE-2026-40008 7.49.80.00602026-07-10
CVE-2026-55559 7.49.80.00782026-08-28
CVE-2026-418717.49.80.00752026-09-09
CVE-2026-937627.49.80.00572026-09-18
CVE-2026-712537.49.80.00702026-10-19