Pa Lemon Law: Under the law, the manufacturer must, at no cost to the purchaser, repair or correct any defect which substantially impairs the use, value or safety of the vehicle and which occurs within one year after delivery, or 12,000 miles of use, or the term of the manufacturers express warranty, whichever comes first. If the defect cannot be repaired after 3 attempts, or if the vehicle is out of service for a total of 30 calendar days for repair, generally, you may be eligible for a replacement vehicle or the refund of the purchase price, less a limited allowance for use.
Lemon Law is not just for saftey related issues. Friend of mine, got full refund for a leaky sliding rear window. There are also cash settlements and you keep vehicle.