Preheat your oven to 350°F. Prepare a 9-inch square baking pan by spraying it with nonstick cooking spray.
In a blender, combine the corn kernels, sweetened condensed milk, eggs, melted butter, and vanilla extract. Blend until the mixture is well combined and the corn is nearly smooth.
Add the flour, baking powder, and salt to the blender. Pulse until just combined, taking care not to overmix.
Pour the batter into the prepared baking pan, smoothing the top with a spatula.
Bake in the preheated oven for 40 to 45 minutes, or until the top is golden and a toothpick inserted into the center comes out clean.
Allow the cornbread to cool slightly before cutting into squares. Serve warm or at room temperature.