Cfr. https://blog.sonarsource.com/rainloop-emails-at-risk-due-to-code-flaw https://github.com/RainLoop/rainloop-webmail/issues/2142 Unfortunately I don't have a time for a patch at the moment, but it could make sense to either: - add CVE indication to `pkg audit` - add SonarSource-produced unofficial patch to this port - add SnappyMail in the Ports
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9f524f160cb67555ffab240926b693d090ebd20 commit f9f524f160cb67555ffab240926b693d090ebd20 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2022-05-03 10:06:33 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2022-05-03 10:12:56 +0000 mail/rainloop: Add patch to fix cross-site-scripting (XSS) vulnerability PR: 263749 Reported by: Lapo Luchini Obtained from: https://blog.sonarsource.com/rainloop-emails-at-risk-due-to-code-flaw MFH: 2022Q2 Security: a8118db0-cac2-11ec-9288-0800270512f4 mail/rainloop/Makefile | 2 +- ....0_app_libraries_MailSo_Base_HtmlUtils.php (new) | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-)
A commit in branch 2022Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=365d267c54be8e7a985ed58360621924325187dc commit 365d267c54be8e7a985ed58360621924325187dc Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2022-05-03 10:06:33 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2022-05-03 10:15:08 +0000 mail/rainloop: Add patch to fix cross-site-scripting (XSS) vulnerability PR: 263749 Reported by: Lapo Luchini Obtained from: https://blog.sonarsource.com/rainloop-emails-at-risk-due-to-code-flaw MFH: 2022Q2 Security: a8118db0-cac2-11ec-9288-0800270512f4 (cherry picked from commit f9f524f160cb67555ffab240926b693d090ebd20) mail/rainloop/Makefile | 2 +- ....0_app_libraries_MailSo_Base_HtmlUtils.php (new) | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-)
(In reply to Lapo Luchini from comment #0) Thanks for reporting. Fixed vulnerability by applying patch proposed by reporter.
PS: should this be applied to rainloop-community as well?
(In reply to Lapo Luchini from comment #4) Since mail/rainloop-community is slave port of mail/rainloop, ports f9f524f160cb also affects to it.