My guess is that Xehanort never originally knew about the box, and Xigbar was the one who told him. My theory goes like this:
I don't believe Xigbar ever intended to mention the box. I'm sure he was planning on keeping it to himself until the time came for it to reappear after the conflict.
But Maleficent did know about the Box. Darkness told her about it, as she explicitly mentions, and we can see Xigbar watching over Maleficent and Pete digging for it. Now, as far as Xigbar/Luxu is concerned, Maleficent is an unknown variable that his Master's plans never really accounted for, at least not as far as he knows it. So seeing her searching for something that only he should know about doubtlessly freaked him out and set him on high alert. If she knows about the Box, who else might? And if there were any chance she might actually find it, that would be disastrous for the Master of Masters' plans.
So, my guess is that once Xigbar realized he was no longer the only one hunting for the Box, he realized he would need to make sure Maleficent and Pete didn't get to it. And to do that, he spilled the beans to Master Xehanort and some of the higher ups—NOT about everything, mind you, just about how Maleficent was searching for a box, and that he had reason to believe that whatever was in this box would be of great value to their plans should it be found by them instead. Of course he wouldn't have betrayed his true identity or the contents of the box—if Xehanort ever knew how much more dastardly and conniving than him Xigbar really was, then he probably would have thrown him out of the Organization for seeing him as the legitimate threat that he was. So, Xigbar devised a way to get the other members of the Organization hunting around the worlds for the Box JUST IN CASE IT COULD ACTUALLY BE FOUND, because God forbid anyone but himself should ever get their hands on it.
If it weren't for that one scene of him spying on them digging for the box, he likely never would have brought it up in the first place.