github-advanced-security[bot] commented on code in PR #16877: URL: https://github.com/apache/lucene/pull/16877#discussion_r4330535950
########## dev-tools/scripts/releaseWizard.py: ########## @@ -124,7 +149,7 @@ filled = replace_templates(text) try: - env = Environment(lstrip_blocks=True, keep_trailing_newline=False, trim_blocks=True) + env = Environment(lstrip_blocks=True, keep_trailing_newline=False, trim_blocks=True, undefined=ReadableUndefined) Review Comment: ## CodeQL / Jinja2 templating with autoescape=False Using jinja2 templates with autoescape=False can potentially allow XSS attacks. [Show more details](https://github.com/apache/lucene/security/code-scanning/271) -- 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]
