@mav Sort of. It's "infectious" in that any derivative work must take on the same license. If you, for example, use a GPL library to build a website, all other parts of that website are then also licensed under GPL.
This is why all WP themes must be GPL licensed. As a result, GPL and MIT code are incompatible together.