Since June 2024 librsvg has been updated to 2.50 (see T265549#9867973)
Several librsvg issues are still not fixed in 2.50 (Debian Bullseye), but are in later versions.
Debian Bookworm (stable) ships a more recent version: 2.54 (as of December 2024)
An alternative to update might be switching to a different (less buggy) renderer, see T40010