I had connected a PC with malware to my monitor via HDMI and would like to know whether the monitor is now infected and if I connect an XBOX to my monitor, for example, it will also be infected.
No, unfortunately not.
No, this is not possible.
Why unfortunately?
Theoretically possible but totally unlikely.
Any electrical device that has a memory can be infected, but that would be news to me that malware is on screens.
Did a monitor have a memory?
Yes
Yes, for settings, etc. But it is not accessible from the outside, especially not via the HDMI connection.
Only information such as the name of the monitor and the resolution is transferred from the monitor to the computer. It is not possible to actively change or execute anything on the computer via HDMI.
Thank you, some screens have an integrated USB hub, but it is questionable how far it is connected to the memory. With a buddy, he can also adjust the image settings on his gigabyte monitor via the PC as long as the USB cable is on… So in theory…