andrewmusselman opened a new issue, #767: URL: https://github.com/apache/tooling-trusted-releases/issues/767
**ASVS:** 1.2.1 | **CWE:** CWE-79 | **Severity:** LOW | **Effort:** Low ### Description In `atr/form.py` (lines ~252–263), the `confirm` parameter uses string interpolation to build an inline `onsubmit` JavaScript handler. While the current regex allowlist (`^[A-Za-z0-9 _.,!?-]+$`) prevents exploitation, building JavaScript via string concatenation is an anti-pattern that could become vulnerable if the regex is relaxed. ### Remediation Add `audit_guidance` comment letting LLM know this is a deliberate choice -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
