The genetics
World War Z treats the zombie plague as an infectious disease, studied by virologists and the World Health Organization, but genetics plays a minor role. Scientists appear as both vulnerable and essential: the young virologist who is supposed to find the source dies almost immediately, and the solution comes from Gerry's field observations, tested at the WHO laboratory. The answer is not a cure but camouflage. Because the zombie pathogen seeks healthy hosts, injecting people with a dangerous but curable infection hides them, and the vaccine produced at the end is described as a hybridised meningitis strain with components of smallpox and swine flu. Its function is therefore to mask people from the zombies rather than to protect them from infection in the usual sense of a vaccine. The idea of hiding from one pathogen by carrying another is fictional, but the film's framing, with health agencies racing to trace the origin of a fast-spreading outbreak, reflects real concerns about global pandemics.
The story
Former UN investigator Gerry Lane escapes with his family from Philadelphia as a zombie outbreak spreads, and they are taken to a US Navy ship. To keep his family there, Gerry agrees to escort a young virologist, Andrew Fassbach, in search of the origin of the outbreak, which might allow a vaccine to be developed. Fassbach dies accidentally on arrival at a US base in South Korea, and Gerry follows the trail to Jerusalem, which has walled itself in but is overrun. There he notices that the zombies ignore some people, such as an old man and a sick boy. After a plane crash he reaches a World Health Organization laboratory in Cardiff and deduces that the zombies avoid people who are seriously ill. To test his theory, he injects himself with a dangerous but curable pathogen and walks past a zombie unharmed. The discovery leads to a "camouflage" vaccine that allows people to fight back against the zombies.