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

128 CVEs have CWE-470 as their primary weakness. 1 of them are in the CISA KEV catalog. The highest EPSS score among them is 80.097%.

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.

Child of CWE-913: Improper Control of Dynamically-Managed Code Resources

Mitigations

Observed examples

Top released CVEs

KEV first, then the highest EPSS score, the highest CVSS score and the newest.

CVEPublishedSeverityCVSSEPSSDescription
CVE-2026-820782026-08-28CRITICAL9.163.047%An unsafe dynamic class loading vulnerability exists in the database connection utilities of PaperCut MF and PaperCut NG. The application instantiates database…
CVE-2026-911152026-11-16HIGH8.8not scoredSilverstripe Framework is a PHP framework which powers the Silverstripe CMS. From 6.0.0 until 6.2.13, the writer option of i18nTextCollectorTask is passed to…
CVE-2026-1046922026-11-16HIGH8.5not scoredLibreOffice bundles the HSQLDB database engine, which can be used through the generic JDBC database driver as well as through the support for embedded…
CVE-2026-1018922026-11-16HIGH8.5not scoredLibreOffice documents in ODF format can contain form controls, such as buttons and text fields, and each control names the component that implements it. The…

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources