Preheat the oven to 350°F (175°C) and grease a 9×5-inch loaf pan.
Whisk flour, baking powder, baking soda, and salt.
In another bowl, whisk sugar, eggs, oil, orange juice, zest, and vanilla.
Add the dry ingredients to the wet mixture.
Fold gently until mostly combined.
Stir in the cranberries and transfer the batter to the pan.
Bake for 50–60 minutes until a toothpick comes out clean.
Cool in the pan for 15 minutes before transferring to a rack.