What happened to Dr. Vahlen?
She's mentioned in the XCOM Archives in the Commander's quarters (bold emphasis mine):
Vahlen, Moira - STATUS: MIA
Vahlen, Moira. Birthdate Unknown. Doctor Moira Vahlen, Chief Scientist serving XCOM at the onset of the invasion in March of 2015. Very little information about Dr. Vahlen still exists following the destruction of XCOM's original headquarters. Central Officer Bradford is now the only living member of the staff to have had personal contact with her, and he generally remains aloof when pressed for further information. Notes and various remnants of data from the original XCOM database indicate an aggressive pursuit of alien material sought for study by Dr. Vahlen, with limited concern for the potential outcomes of these theoretical research fields. Dr. Vahlen's status following the destruction of XCOM HQ is unknown, no further contact has been established.
Other Mentions
Many of the characters will also mention her from time to time in the Avenger:
- Tygan will mention having heard that his "predecessor" was "something of a brute" when it came to alien interrogations and autopsies.
- Shen will mention coming across some notes written in English and broken German.
- IveLostMyLibraryCard points out some additional references.
Additional quotes:
We've been picking up some weird transmissions lately; it sounds a little like German, but it's hard to tell.
I've been digging through some of the old data files Central has been holding on to since before the war. I keep running across notes scrawled in English and what looks like broken German. I should probably ask him about it.
Speculation
I have my suspicions that Vahlen was actually captured by the aliens and used as the basis for the Codex unit, but that's pure speculation at this point.
Vahlen is mentioned in the prequel novel. Minor spoilers follow.
The prequel novel, in the large, deals with the Resistance's efforts to find and capture the crashed alien vessel which becomes the Avenger.
Early on in the novel, the protagonist and his squad travel via submarine to a volcanic island off the coast of South America. That island contains a hidden Resistance research base known as 'Wunderland', which is headed by Dr. Vahlen.
Unfortunately, one of the protagonist's friends has some sort of tracker embedded in her, and ADVENT forces attack the island. The protagonist's squad heads to the surface to fend off the enemy forces. While they're doing so, the base self-destructs.
By the time they've fought off the ADVENT troops the submarine's departed. They explore the now-wrecked base and discover a diversion - a bunch of wrecked helicopters and dead bodies intended to fool any ADVENT forces looking for survivors. A trap door leads to a cove where the protagonist's squad commandeer a boat to continue their journey.
Vahlen's fate is left unmentioned, although the protagonists theorize that she and whoever survived the assault fled on boats (or even a second submarine) after self-destructing the base.
In short — if the prequel novel is considered canon, Vahlen was alive, well, and conducting research for the Resistance weeks or (at most) months before the actual start of the game, but her current whereabouts are still unknown. She may have died escaping her base, been captured by ADVENT while/after escaping, or slipped away and made it to another Resistance haven.
Central mentions her from time to time when you hang around in the avenger long enough. Quotes I've personally heard are
"broken transmissions in what could be German have been broadcast lately"
"Dr valhen is missing but I need to believe she's still out there somewhere"
"valhen went missing after xcom fell but I can't imagine she would just give up so easily, not with earth's freedom at stake"