Heat a medium skillet over medium-high heat. Add the onions and cook until lightly browned, about 7 minutes. Add water 1 to 2 tablespoons at a time, as needed, to keep them from sticking to the pan.
Add the garlic, jalapeno pepper, Ancho chile powder, chipotle chile powder, cumin, and oregano. Cook for 2 minutes to toast the spices.
Add the tomatoes and vegetable broth, and cook for 15 minutes.
Remove from heat and stir in cilantro and lime juice.
Using an immersion blender or regular stand blender, carefully blend the mixture until it reaches the consistency you want. A few pulses for a slightly chunky sauce, or you can puree it until it’s completely smooth.