Skip to content

Conversation

@kristian-94
Copy link

@kristian-94 kristian-94 commented Oct 22, 2025

For #2898

This fixes incorrect warnings in the site security report. Shouldn't be a 'real' xss risk to view o365 links.

/admin/roles/define.php?action=view&roleid=5

Screenshot 2025-10-23 at 9 05 28 am

/report/security/index.php

Screenshot 2025-10-23 at 9 04 50 am

I've also done some testing, the only way I could see this be a vulnerability is through the link/url itself, but URLs are properly sanitized through Moodle's standard output functions moodle_url, html_writer::link() which use htmlspecialchars()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant