Wells Fargo (WFC -0.39%) stock has declined over 15% year-to-date. Bearish momentum has been building in the past month as the company struggles with the outrage surrounding millions of unauthorized customers accounts opened by Wells Fargo employees to boost financial results and meet internal goals. And yesterday, CEO John Stumpf found himself in the hot seat, answering (and dodging) many questions during a Senate hearing regarding the controversy.

In the video below, senior banking analyst John Maxfield joins CNBC to discuss the potential silver lining for shareholders and investors in this unsettling turn of events.

A full transcript follows the video.

A secret billion-dollar stock opportunity
The world's biggest tech company forgot to show you something, but a few Wall Street analysts and the Fool didn't miss a beat: There's a small company that's powering their brand-new gadgets and the coming revolution in technology. And we think its stock price has nearly unlimited room to run for early in-the-know investors! To be one of them, just click here.

This segment originally aired on Sept. 20, 2016.

John Maxfield: From the customer's perspective, I mean this is just patently deplorable conduct right? I'm not talking about just the nature of what happened here: opening up accounts for potentially millions of customers across all the branches in the United States. There is no excuse for that, both the nature of it and the extent of it.

However, if you think about it from the investor's perspective, this is when you buy into great companies. If you look back at when Warren Buffett invested in Wells Fargo, that wasn't great times. I mean one of his famous sayings is "You pay a high price for a cheery consensus." He bought into Wells Fargo at the beginning of the 1990's when California was going through a serious commercial real estate crisis. And it was the same thing with how he bought into American Express.

So the point being -- look, there is no excuse for the conduct that went on at Wells Fargo, and John Stumpf, he was pretty uncomfortable today testifying before the Senate and for good reason, because you just can't excuse this. But for investors, this is the opportunity that you look for.