Insufficient sanitization and escaping of a package setting allows users with the Author role and above to execute Stored Cross-Site Scripting (XSS) attacks. This occurs when a visitor, including administrators, opens the download dialogue of a package. The issue specifically affects sites running PHP versions below 8.1 because the sanitization process fails to neutralize single quotes during the saving of the setting.