"monter aux lèvres" is a bit like "brûler les lèvres". It means she was thinking about saying something (bad or witty) and was struggling to refrain saying them. If you translate litteraly your expression, it means the words was raising to her lips. I'm not sure what would be the common expression in English, but I suggest something like "sprung to her mind".