Cross-site scripting (XSS) vulnerability in templatefunctions.py in Loggerhead before 1.18.1 allows remote authenticated users to inject arbitrary web script or HTML via a filename, which is not properly handled in a revision view.
templatefunctions.py
"https://github.com/pypa/advisory-database/blob/main/vulns/loggerhead/PYSEC-2026-840.yaml"