CNN doesn't get any of your Facebook data. It's an iframe hosted on Facebook. That HN user wants people to know that he likes that article.
(Your reaction is partially justified due to the existence of Instant Personalization on Yelp, Pandora, and Docs, which does share information without your consent.)