A Massachusetts woman had a question about her taxes, but when she called the IRS, she was actually dialing into Howard Stern’s show as well.

Judith Barrigas of Sandwich called IRS agent Jimmy Forsyth to discuss tax return and refund issues on May 19, 2015, according to court documents. Before taking Barrigas’ call Forsyth had called in to the “The Howard Stern Show” on his cellphone and had been put on hold.

But as the two spoke about private tax information, someone at the show picked up and — intrigued by the personal back-and-forth — aired the conversation, according to court documents.

“They were very much aware that this was something that shouldn’t be aired. It was a tax issue and they talked about it on air,” said Sol Cohen, Barrigas’ attorney. “Howard Stern was aware of this, and he let it play.”

Barrigas learned she was on the air after her number went over the airwaves, and Stern’s loyal listeners started texting and calling her cellphone as she was still talking to Forsyth.

“She finally asked him: ‘Are you on the phone with Howard Stern right now?’” Cohen said. “There was no real denial. The IRS conceded that this happened.”

Barrigas has now sued the IRS, Howard Stern and his production company in Massachusetts federal court.

She’s claiming negligence, intentional infliction of emotional distress, invasion of privacy and other counts.

“This whole thing has just added a lot of anxiety to her life,” Cohen said.

Sirius XM, which airs Stern’s show, declined to comment.

The IRS, in a statement, said it “does not comment on pending litigation,” but added that it ”takes the confidentiality of taxpayer information very seriously, and has high standards that employees are required to follow.”

Forsythe was placed on administrative leave, according to the suit.

The first-time, wrong-time call has created a solid lawsuit against both Stern and the government, according to legal experts.

“If she had no idea that he was talking to Howard Stern, and then I think she had a reasonable expectation of privacy that was violated,” said Greg Sullivan, a longtime media attorney.

Doug Sheff, a civil attorney, said the big issue is going to be proving how much she is owed.

“She has rights, but the significance of damages will come down to whether she can prove a concrete and sustainable loss,” he said. “Had she not been on the air, what would she have in her life that she no longer does?”