Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing XSS vulnerability #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TorrijaConLeche
Copy link

Found a XSS in compose.php which leds users to execute malicious JavaScript code.
Created a way to sanitize the user input when composing an email..

@albertgasset @reskit @necessary3vil @mcagigas

@albertgasset
Copy link
Contributor

Hi @TorrijaConLeche,

The official Git repository for Local Mail plugin is hosted here: https://gitlab.com/reskity/moodle-local_mail

I cannot reproduce the XSS vulnerability, please provide detailed steps to reproduce the bug. Anyway, the content is sanitized by Moodle when displaying content, see the implementation of the format_text function if you want to learn how.

Also, if you want to send a pull request, please follow the Moodle coding style and don't replace the content of the README file.

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.

2 participants