Don’t you mean illicit?
In this case unless the woman was involved in the consecration then it was probably valid but definitely illicit.
**
5. Problematic Abuses - Those which are Illicit
There are many more illicit abuses being practiced throughout the diocese of the world. Only some of the most common ones are listed here. Note that there is no attempt to prioritize the abuses as to most to least common or any such ranking. The abuse and the related Church teaching on the proper practice are presented.
**5.12 Concelebrating Mass with Ministers of Other Faiths **
In the name of “ecumenism,” some dissenters have been celebrating Mass with other faiths. This is strictly disallowed.
Canon 908 Catholic priests are forbidden to concelebrate the Eucharist with priests or ministers of Churches or ecclesial communities which are not in full communion with the catholic Church.
**5.13 Offering Holy Communion to those of Other Faiths **
Also in the name of “ecumenism,” some priests invite those of other faiths to receive Holy Communion. This is strictly disallowed except for a few cases with Eastern Christian Churches (see Vatican II Decree On the Catholic Churches of the Eastern Rite Orientalium Ecclesiarum).
Canon 908 Catholic priests are forbidden to concelebrate the Eucharist with priests or ministers of Churches or ecclesial communities which are not in full communion with the catholic Church.
Canon 844 ß1 “
Catholic ministers may lawfully administer the sacraments only to catholic members of Christ’s faithful, who equally may lawfully receive them only from catholic ministers, except as provided in ß2, 3 and 4 of this canon and in can. 861 ß2. (note: the latter covers Baptism)”
ß2 “*Whenever necessity requires or a genuine spiritual advantage commends it, and provided the danger of error or indifferentism is avoided, Christ’s faithful for whom it is physically or morally impossible to approach a catholic minister, may lawfully receive the sacraments of penance, the Eucharist and anointing of the sick from non-Catholic ministers in whose Churches these sacraments are valid. *(note: Protestant ministers do not pass this test)”
ß3 “*Catholic ministers may lawfully administer the sacraments of penance, the Eucharist and anointing of the sick to members of the eastern Churches not in full communion with the catholic Church, if they spontaneously ask for them and are properly disposed. The same applies to members of other Churches which the Apostolic See judges to be in the same position as the aforesaid eastern Churches so far as the sacraments are concerned. *(note: Protestant faiths do not pass this test)”
ß4 “*If there is a danger of death or if, in the judgment of the diocesan Bishop or of the Episcopal Conference, there is some other grave and pressing need, catholic ministers may lawfully administer these same sacraments to other Christians not in full communion with the catholic Church, who cannot approach a minister of their own community and who spontaneously ask for them, provided that they demonstrate the catholic faith in respect of these sacraments and are properly disposed. *(note: this covers the case where a Protestant converts on his deathbed)”
ß5 “
In respect of the cases dealt with in ß2, 3 and 4, the diocesan Bishop or the Episcopal Conference is not to issue general norms except after consultation with the competent authority, at least at the local level, of the non-Catholic Church or community concerned.”