Fill a large pot with salted water and bring it to a boil. Add the dried pasta and cook it al dente according to package directions.
While the pasta is cooking, place the olive oil in a medium pan over medium-high heat. Add the chopped onions and sauté for 3-4 minutes until translucent. Stir in the minced garlic and cook for 30 seconds.
Add in the crushed tomatoes and season with dried oregano and red pepper flakes. Reduce the heat and simmer the sauce for about 10 minutes.
Stir in the crumbled goat cheese and let it melt in the sauce over low heat for 2 minutes. Add the chopped basil. Remove the pan from the heat and stir in the cooked pasta. Season with a pinch of salt and black pepper.
Serve the goat cheese pasta with freshly grated Parmesan cheese and basil leaves. Enjoy!