Descrizione
A security vulnerability has been detected in Discourse up to 2026.10.1. This affects the function UserCreator.assign_signup_fields of the file lib/user_creator.rb of the component User Signup Custom User Field Handler. The manipulation of the argument user_fields leads to dynamically-determined object attributes. The attack can be initiated remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 2026.10.2 mitigates this issue. The identifier of the patch is de73bfc87b0170783fa9c577d7f814e64a212219. The affected component should be upgraded.
Tipo di vulnerabilità
CWE-913
Improper Control of Dynamically-Managed Code Resources
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.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Eseguire codice o comandi non autorizzati |
| Altro, Integrità |
Dipende dal contesto, Alterare la logica di esecuzione |
Come si previene
Sviluppo · Validazione dell’input
For any externally-influenced input, check the input against an allowlist of acceptable values.
Sviluppo · Architettura e progettazione · Refactoring
Refactor the code so that it does not need to be dynamically managed.
Tutte le 102 CVE di tipo CWE-913, con andamento e prevenzione