Hudgens reprised her role as Gabriella in High School Musical 2, released on August 17, 2007. The premiere was watched by over 17.2 million viewers in the US, almost 10 million more than its predecessor, making it the most-watched Disney Channel Original Movie of all time. Disney Channel aired a weekly program called Road to High School Musical 2, beginning on June 8, 2007, and leading up to the premiere of High School Musical 2 in August. The show offered viewers a behind-the-scenes look into the production of the movie. The world premiere of the opening number "What Time Is It" was on Radio Disney May 25, 2007, and similarly "You Are The Music In Me" premiered on July 13, 2007. The film was generally well received by critics. USA Today's Robert Bianco awarded the film three stars out of four, saying High School Musical 2 was "sweet, smart, bursting with talent and energy, and awash in innocence". While critics enjoyed the film, they noted that the timing of its premiere seemed odd, premiering just when school was about to start up again, while the plot involved the gang going on summer vacation.
On September 6, 2007, stolen photos of Hudgens were leaked online, one showing her posing in lingerie and another showing her nude. A statement from her publicist claimed that the photo was taken privately and it was unfortunate that they were released on the Internet. Hudgens later apologised, saying that she was "embarrassed over the situation" and regretted having "taken [those] photos". Hudgens subsequently released a statement indicating that she declined to comment further on the subject. OK! magazine speculated that Hudgens would be dropped from High School Musical 3 as a result of the images, but The Walt Disney Company denied this, saying, "Vanessa has apologized for what was obviously a lapse in judgment. We hope she's learned a valuable lesson."
Hudgens promotes Neutrogena and was the 2008 featured celebrity for Sears' back-to school campaign. In 2007, she became a spokesperson for Marc Eckō products but ended the contract after two years. Hudgens regularly volunteers for charitable activities, including those for Best Buddies International, Lollipop Theater Network, St. Jude Children's Research Hospital and the VH1 Save The Music Foundation. Hudgens is also featured in A Very Special Christmas Vol.7 disc which benefits the Special Olympics. Hudgens is also part of the "Stand Up to Cancer (SU2C): Change The Odds" along with other Hollywood stars including Zac Efron, Dakota Fanning, Kristen Bell, and others.
Brian Schall sued Hudgens in 2007 for an alleged "breach of contract"; according to the suit, Schall claims he advanced costs and expenses on Hudgens' behalf for her songwriting and recording career. Schall claims Hudgens owed him $150,000 after helping her earn more than $5 million for her music career. Hudgens argued that she was a 16-year-old minor when she signed the contract in October 2005, and therefore too young to do so. She subsequently disaffirmed it on October 9, 2008. Papers filed in court by her lawyer say California's Family Code "provides that the contract of a minor is voidable and may be disaffirmed before (age 18) or within a reasonable time afterward." In 2008, Hudgens was sued by Johnny Vieira, who claims he was owed a share of Hudgens' advances, royalties and merchandising revenue in exchange for his management services. Vieira accuses Hudgens of abandoning her talent team as soon as she became a commercial name. In early May 2009, the case was settled.