Hi Peter,That's correct. Your connection will run through either Chiasso or Domodossola (details can be found through the timetable) and that's where the validity of a Swiss Pass (or any other STS rail pass) ends. So you have to buy a regular ticket from Chiasso or Domodossola to Venice.
All you need to know about traveling by train, bus or car in Switzerland.
Hand picked Swiss hotels and other accommodations are right here.
Swiss Travel Pass promotion 25% discountOnly if purchased in July 2021. Free cancellation.Buy via the SBB travel centre at https://shop.switzerlandtravelcentre.com or HappyRail at https://www.happyrail.com/swiss-travel-pass.