HST/STIS low dispersion spectroscopy of three Compact Steep Spectrum sources. Evidence for jet-cloud interaction