The Ugly Duckling is a character in Shrek the Musical. She is based on the titular character from The Ugly Duckling by Hans Christian Anderson.
Shrek the Musical
She is seen at Shrek's swamp having been sent there by Lord Farquaad. Later, she sings "Freak Flag" with the others.