How to place an item into a chest when using multiverse?

As long as the chest/chunk is loaded you can use execute in.

In your case it would be something like this:

/execute in minecraft:<your_other_world> run <your_command_here>

For example:

/execute in minecraft:world run summon creeper 10 70 10