Since 26.3 Pre-Release 2, landing a full-strength attack on another player while sprinting no longer slows the attacker down or cancels their sprint. The behavior changed with the fix for MC-211708 ("Client spawns crit particles when attacking another player that cannot be harmed"). That fix stopped the client from predicting hits on other players, but the attacker's slowdown was part of the same prediction, so it was removed for valid hits as well, and nothing server-side replaces it.
Steps to reproduce
Start a dedicated server and join with two clients. Both players are in survival with PvP enabled
Player A attacks Player B while sprinting
Player A does not slowdown from attacking
Expected
Player A is applied a slowdown via causeExtraKnockback , multiplying their current horizontal movement by 0.6
Actual Result
Player A is not slowed down and their horizontal motion is maintained
Can confirm, this is a critical issue. Note that this is not related to multiplayer, even in singleplayer when attacking mobs, dealing a sprint-knockback attack no longer cancels your sprint.