Ask if the reporter of the vulnerability is ok to be credited and how: provide here the information, and also in Github’s advisory dedicated fields. If the reporter is not member of XWiki/Security pay attention to also add it as collaborator.
That, and we also copy the content of the advisory in our own security advisory app. Also, the plain text allows us to provide more info if the reporter wants (e.g. we have cases where reporter wants to be credited with their full name as well as their github username)
there are several reporters that reported different aspects of a vulnerability, in this case it wouldn’t be fair to credit them both exactly the same way
there is a project or some funding that should be mentioned like when we had the bug bounty program with Intigriti. I also had a case where the attribution should mention a “project at Oteria Cyber School that was organized by OffenSkill”
In those cases, I don’t see how that should be expressed by the simple credits fields. On the other hand, the credits field is indexed and the advisories, e.g., appear on the profile of the reporter and can be searched. So I think both provide value.
It would be okay for me, though, to omit the attribution in the text content in simple cases, in particular if a vulnerability has been fully reported by a committer.