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

web: fix various XSS vulnerabilities #5968

Merged
merged 2 commits into from
Dec 22, 2024
Merged

web: fix various XSS vulnerabilities #5968

merged 2 commits into from
Dec 22, 2024

Conversation

davidpanderson
Copy link
Contributor

Most of these involve putting user text in error messages. Use htmlspecialchars() for this.

filenames: require POSIX portable names

Most of these involve putting user text in error messages.
Use htmlspecialchars() for this.

filenames: require POSIX portable names
@AenBleidd AenBleidd requested review from lfield and Copilot December 21, 2024 04:02

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (7)
  • html/inc/util_basic.inc: Language not supported
  • html/user/get_output.php: Language not supported
  • html/user/get_output3.php: Language not supported
  • html/user/job_file.php: Language not supported
  • html/user/openid_login.php: Language not supported
  • html/user/prefs_edit.php: Language not supported
  • html/user/submit_rpc_handler.php: Language not supported
@lfield
Copy link
Contributor

lfield commented Dec 21, 2024

There is one small issue which I have put in the comments.

@davidpanderson
Copy link
Contributor Author

Where in the comments?

@lfield
Copy link
Contributor

lfield commented Dec 21, 2024

Just above.

@davidpanderson
Copy link
Contributor Author

the comments of this PR? I'm not seeing it.

@lfield
Copy link
Contributor

lfield commented Dec 21, 2024

Yep. https://github.com/BOINC/boinc/pull/5968/files/443889e7bcee9ac5ef06afe9e8c6b25814b78b72#diff-97e70dc5379ea2d29ea02ed3832e7f163355342bc52397071279f176f8ec1caf

"Bug 209 is still there. It would require .htmlspecialchars($req) on line 302" in job_file.php

@davidpanderson
Copy link
Contributor Author

github didn't show a comment there for some reason. Anyway, fixed now

@lfield
Copy link
Contributor

lfield commented Dec 21, 2024

LGTM

@AenBleidd AenBleidd requested a review from Copilot December 22, 2024 00:51

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (7)
  • html/inc/util_basic.inc: Language not supported
  • html/user/get_output.php: Language not supported
  • html/user/get_output3.php: Language not supported
  • html/user/job_file.php: Language not supported
  • html/user/openid_login.php: Language not supported
  • html/user/prefs_edit.php: Language not supported
  • html/user/submit_rpc_handler.php: Language not supported
@AenBleidd
Copy link
Member

Merging this to master since this already merged to the release branch.

@AenBleidd AenBleidd merged commit 0ebff09 into master Dec 22, 2024
153 checks passed
@AenBleidd AenBleidd deleted the dpa_web15 branch December 22, 2024 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants