Democratic Senate candidates continue to swamp their Republican rivals in fundraising, with new campaign finance data showing several of them sitting on staggering stockpiles of cash.

They’ll need all of that cash to counter a potential floodgate of GOP spending following last month’s Supreme Court decision that cleared the way for party committees to spend unlimited amounts on behalf of candidates in federal elections.

Meanwhile, on the House side, both parties touted challengers who outraised incumbents over the three months between April and June.

Democrats point to the fundraising prowess of nearly a dozen candidates in the party’s Red to Blue program for strong recruits. The filings show Democrats “have the resources to deliver their message to voters despite Republican attempts to rig the midterms and distract voters from their broken promises on rising costs, the economy, and the war,’’ Viet Shelton, spokesperson for the Democratic Congressional Campaign Committee, said in a statement.

The National Republican Congressional Committee, meanwhile, expressed confidence in the abilities of their at-risk members. “While vulnerable House Democrats struggle to keep pace, Republicans are building the war chest needed to defend our majority, expand the map, and win in November,” NRCC spokesman Mike Marinella said in a statement.