Original Wordle included the word lists in the HTML source code, so anyone could get them. Here’s an alphabetical list of the 2315 solution words. Since the New York Times took over, they first removed a half-dozen of the words as potential solutions and then more recently gave “creative control” of the solution list to one of their staff.
https://www.reddit.com/r/wordle/comments/10iwd91/what_restrictions_are_there_on_which_words_wordle/

