A player can only score their own secret objectives; a player cannot score secret objectives revealed by other players.
This is the official Living Rules Reference wording under Objective Cards.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.