Preheat your oven to 400°F (200°C).
Roll out the puff pastry on a floured surface.
Cut the pastry into squares approximately 4 inches by 4 inches.
Make the cream cheese filling by mixing softened cream cheese, sugar, vanilla extract, and a bit of the fresh strawberries in a bowl.
Take each pastry square and place a spoonful of the cream cheese mixture in the center.
Spoon the remaining fresh strawberries (mixed with cornstarch) on top of the cream cheese filling.
Fold the corners of each pastry square towards the center, pinching them together to secure.
Brush the top of each Danish with the beaten egg for a golden finish.
Place the pastries on a baking sheet lined with parchment paper.
Bake in the preheated oven for 20-25 minutes until golden brown.
Let them cool slightly before serving.