Joomla! Core is prone to a directory traversal vulnerability because it fails to sufficiently verify user-supplied input. Exploiting this issue can allow an attacker to obtain sensitive information that could aid in further attacks. Joomla! Core versions ranging from 2.5.0 and up to and including 3.9.22 are vulnerable.
Update to Joomla! Core version 3.9.23 or latest