In Virtualbox the clipboard between the host and the guest OS does not work

I suppose you intended that reply for someone else.

However, did you update the guest-additions in the Guest OS?

guest-additions

Note that the version of guest-additions installed in a Guest OS must match the version of VirtualBox installed on the Host OS, for the bidirectional clipboard to work.

When you updated to VirtualBox 17.0.18 did you also update the guest-additions to the current version? This would mean uninstalling the previous guest-additions (in the Guest OS) and installing the new version.

If you did not also update the guest-additions installed in the Guest OS to match the installed version of VirtualBox then it’s not surprising that features of the guest-additions (including bidirectional clipboard, and drag/drop) might not work.