Place the cinnamon and allspice in a damp cheesecloth, and tie it closed into a bundle.
Combine the remaining ingredients in a medium pot over medium heat. Add the bundle of spices and bring to a boil. Reduce the heat and simmer for 10 minutes, or until the cranberries have popped.
Cool and remove the cheesecloth bundle of spices.