Accepted for publication in AJInternational audienceWe present an atmospheric characterization study of two medium sized planets bracketing the radius of Neptune: HD 106315 c (R$_{\rm{P}}$=4.98 $\pm$ 0.23 R$_{\oplus}$) and HD 3167 c (R$_{\rm{P}}$=2.740$_{-0.100}^{+0.106}$ R$_{\oplus}$). We analyse spatially scanned spectroscopic observations obtained with the G141 grism (1.125 - 1.650 $\mu$m) of the Wide Field Camera 3 (WFC3) onboard the Hubble Space Telescope. We use the publicly available Iraclis pipeline and TauREx3 atmospheric retrieval code and we detect water vapor in the atmosphere of both planets with an abundance of $\log_{10}[\mathrm{H_2O}]=-2.1^{+0.7}_{-1.3}$ ($\sim$5.68$\sigma$) and $\log_{10}[\mathrm{H_2O}]=-4.1^{+0.9}_{-0.9}$ ...