The issue stems from MS Word's inability to handle the viewBox attribute properly. To resolve this, I removed the viewBox attribute, recalculated the positions of all elements, and placed them inside a <g/>
element. This adjustment allows MS Word to render the SVG correctly.