If you have a text editor other than Obsidian that can do bulk find+replace, then backing up your vault and making the change in the other text editor is one option.
There may be ways to do this via community plugins as well: for example the Obsidian Linter plugin lets you add items to frontmatter in bulk and I think MetaEdit does as well. Check plugin settings carefully and back up your files before doing any bulk edits!