Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Jul 2023 at 08:37 UTC
Updated:
11 Oct 2023 at 11:19 UTC
Jump to comment: Most recent
Comments
Comment #2
vishal.kadamThank you for applying! Reviewers will review the project files, describing what needs to be changed.
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.
To reviewers: Please read How to review security advisory coverage applications, What to cover in an application review, and Drupal.org security advisory coverage application workflow.
While this application is open, only the user who opened the application can make commits to the project used for the application.
Reviewers only describe what needs to be changed; they don't provide patches to fix what reported in a review.
Comment #3
vinaymahale commentedRan PHPCS tests. No major issues found except for a few lines exceeding characters which could be understood.
Let's wait for other reviewers!
Comment #4
kevin.brocatus commentedI appreciate the feedback @vinaymahale! I have fixed the characters limit in the README file too.
Comment #5
kevin.brocatus commentedComment #6
willempje2 commentedJust going through list given in the "PAReview: Review Template" and check what could be applicable to this module:
Code long/complex enough for review
Application has more than 120 lines and 5 function or class method definitions
Secure code
Twig templates correctly used
Placeholders are correctly used for database storage
Javascript (jQuery) and Drupal.checkPlain()
This might be issue, my jQuery knowledge is limited but there seems to be values outputted in DOM that are not sanitized.
See: https://git.drupalcode.org/project/virtual_select/-/blob/1.0.x/js/virtua...
And: https://www.drupal.org/docs/security-in-drupal/writing-secure-code-for-d...
Comment #7
kevin.brocatus commentedThanks for reviewing @Willempje2. As far as I am concerned your suspicion about the jQuery .val() shouldn't case any security issues.
<div>value</div>is a valid select key.Comment #8
kevin.brocatus commentedComment #9
kevin.brocatus commentedComment #10
avpadernoI am removing the reported manual reviews for other applications, as per Review bonus, since this application has been already reviewed.
Keep in mind that, as per the Review bonus documentation page, applications are reviewed before others when they use the PAreview: review bonus issue tag.
Comment #11
avpadernoIf I execute code similar to the following one, in a page that contains a basic single-line text field, I would not see a dialog box appear.
Clearly, if what entered in that text field is then used to create content in a page, it should be sanitized.
Comment #12
avpadernoComment #13
vinaymahale commentedComment #14
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the Slack #contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the reviewers.
Comment #15
avpaderno