The only times I've had problems with fabric stored in cardboard boxes was when they had been left long term (several years) in a musty basement. A trip through the washer and dryer took care of that. And when they had been left in a garage and the mice had a field day. Had to toss most of that.
Have not had issues from the cardboard itself.