Understand the vulnerability
When it comes to levereging the vulnerablity
{
"brand": "Mercedes",
"model": "CLA AMG 45s"
}const userInput = {
brand: "Mercedes",
model: "CLA AMG 45s"
};
// Creating a Car object based on user input
class Car {
constructor(brand, model) {
this.brand = brand;
this.model = model;
}
getDescription() {
return `${this.brand} ${this.model}`;
}
}PreviousJavaScript Prototype PollutionNextThe most frequent functions that leads to Prototype Pollution
Last updated