The Magento_Catalog/js/price-utils::formatPrice() pollutes the global formatting settings with local ones because of a wrong lodash extend / assignIn usage

Look at the last line:

Such extend / assignIn usage modifies the first argument:

So the globalPriceFormat global price format becomes polluted with a random local format value,

See also: