Descrizione
Next.js is a React framework. Starting with version 10.0.0 and prior to version 12.1.0, Next.js is vulnerable to User Interface (UI) Misrepresentation of Critical Information. In order to be affected, the `next.config.js` file must have an `images.domains` array assigned and the image host assigned in `images.domains` must allow user-provided SVG. If the `next.config.js` file has `images.loader` assigned to something other than default, the instance is not affected. Version 12.1.0 contains a patch for this issue. As a workaround, change `next.config.js` to use a different `loader configuration` other than the default.
Tipo di vulnerabilità
CWE-451
Rappresentazione ingannevole di informazioni critiche nell’interfaccia
L’interfaccia utente non rappresenta correttamente informazioni critiche, che possono essere nascoste o falsificate insieme alla loro fonte. È spesso un elemento degli attacchi di phishing.
Impatto sui sistemi
| Ambito | Impatto |
| Non ripudio, Controllo degli accessi |
Nascondere le proprie attività, Aggirare i meccanismi di protezione, Dipende dal contesto |
Come si previene
Sviluppo · Validazione dell’input
Perform data validation (e.g. syntax, length, etc.) before interpreting the data.
Architettura e progettazione · Codifica dell’output
Create a strategy for presenting information, and plan for how to display unusual characters.
Tutte le 489 CVE di tipo CWE-451, con andamento e prevenzione