lib/WeBWorK/PG/Translator.pm in WeBWorK Program Generation (PG) Language before 2.3.1 uses an insufficiently restrictive regular expression to determine valid macro filenames, which allows attackers to load arbitrary macro files whose names contain the strings (1) dangerousMacros.pl, (2) PG.pl, or (3) IO.pl.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This vulnerability has a 1.26% probability of being exploited in the next 30 days, ranking higher than 70% of all scored CVEs.