Cops say the men may have both had the skin mite infestation scabies.
Two men were arrested for engaging in what cops say was a lewd act in a Bed Bath & Beyond.
The men, both 28, were in a Clifton, New Jersey, location of the home interior chain when police said they were caught in a compromising sexual position by a store employee.
Watch: 1-Year-Old Girl Finds Bag of Meth in Walmart While Waiting to See Santa
Police arrived at about 5 p.m. Monday and arrested the men, one of whom was visiting from North Carolina while the other was a New Jersey resident.
According to NorthJersey.com, the New Jersey man was additionally charged with having an outstanding warrant for his arrest.
Both men were charged with lewdness, criminal mischief and possession of marijuana.
Cops report that arresting officers were exposed to the skin mite infestation scabies, which they say at least one of the men was suffering from at the time of the arrest.
The identities of the men are protected under HIPAA laws because of the health condition.
The arresting officers were treated and put on leave to prevent contaminating the booking station, which cops said was also fumigated following the arrest.
Read: Sign of Bad Taste: A Walmart's 9/11 Soda Display Removed After It Sparks Outrage
In a statement, a spokesperson for the retail chain said the store has taken every precaution to prevent the spread of scabies.
"Out of an abundance of caution, the incident-related merchandise and display was immediately pulled from the floor and discarded. We will continue to take steps to assure that our store and merchandise continues to be safe for our customers and associates.
"If any customer feels uncomfortable in our store for any reason, we will of course attempt to address such a situation in an appropriate manner," the statement said.
Watch: Lawyer Claims Justice Clarence Thomas Groped Her in 1999 'While I Was Setting the Table'