WSGP has demonstrated significant potential for various bioactive effects. However, limited research has explored their anti-ulcerative colitis (UC) effects and mechanism on the colonic system and gut microbial metabolites. We evaluated the ameliorative effects of WSGP on the UC mice model. Using H&E to assess histological injury of colon morphology, AB-PAS staining to detect mucin secretion from goblet cells and the mucous layer, IF to evaluate the expression of intercellular tight junction proteins, ELISA to measure inflammatory factors, WB analysis to measure protein expression of inflammatory signaling pathways, RT-qPCR to quantify gene transcription of inflammatory factors, and LC-MS to analyze metabolites in mouse cecum contents. WSGP supplementation increased food intake, body weight, and colon length while reducing disease activity and histological scores in colitis-afflicted mice. WSGP mitigated colonic tissue damage and restored intestinal barrier integrity by suppressing NF-κB/STAT3 signaling, thereby decreasing gene transcription, protein expression of proinflammatory factors, and nitric oxide production. Additionally, WSGP improved UC by altering the variety of intestinal microbial metabolites. This study demonstrates that WSGP supplementation attenuates UC mice by suppressing the NF-κB/STAT3 signaling pathway, enhancing mucosal barrier function, reducing pro-inflammatory cytokines, and modulating gut microbial metabolites.