Skip to content

Improve the XSS fix in user notification and web messages #876

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

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

mmoqui
Copy link
Member

@mmoqui mmoqui commented Dec 6, 2024

When using the Web messager, prefer to use its capability to apply parameters on the message instead of using the
LocalizationBundle#getStringWithParams for that.

Related to PR Silverpeas/Silverpeas-Core#1376

parameters on the message instead of using the
LocalizationBundle#getStringWithParams for that.

When building a user notification about the modification or the creation
of a contribution in the different Silverpeas apps, encode for HTML the
title/name and the description of the contribution.
Copy link

sonarqubecloud bot commented Dec 9, 2024

@mmoqui mmoqui merged commit e32a8c7 into 6.4.x Dec 10, 2024
3 checks passed
@mmoqui mmoqui deleted the feature-xssFix branch February 3, 2025 11:23
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.

1 participant