Sean Morrison's 76th-minute goal has seen Cardiff City come from behind to beat Charlton Athletic.
The Bluebirds, looking to bounce back from a 2-1 defeat at Rotherham United last week, nearly took an early lead when Anthony Pilkington latched on to Kenwyne Jones's pass before he was denied by Nick Pope.
Jones then headed narrowly wide for the hosts and they wasted another early chance when Morrison nodded another effort over the bar.
Late in the first half, Charlton came close to edging in front as Tony Watt brought a save out of stand-in keeper Simon Moore before Pilkington had another shot saved by Pope at the other end.
The Addicks finally managed to break the deadlock moments after the restart as Watt's cross found youngster Karlan Ahearne-Grant, who scored his first league goal in the senior side.
However, the visitors' lead would last only four minutes as Scott Malone teed up Joe Mason, who rifled the ball home from close range.
Cardiff then sealed victory with 14 minutes left as Morrison nodded Peter Whittingham's corner low past Pope to move the Bluebirds into the playoff places.