We study the stability of thin-shell wormholes in Einstein-Maxwell-Gauss-Bonnet gravity. The equation of state of the thin-shell wormhole is considered first to obey a generalized Chaplygin gas, and then we generalize it to an arbitrary state function that covers all known cases studied so far. In particular, we study the modified Chaplygin gas and give an assessment for a general parotropic fluid. Our study is in d dimensions, and with numerical analysis in d ¼ 5, we show the effect of the Gauss-Bonnet parameter in the stability of thin-shell wormholes against the radial perturbations.