From cce96877abed5776abaf4e028de35b4a6b21a979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Sun, 19 Dec 2021 23:09:44 -0800 Subject: [PATCH] [SECURITY] Fix i18n XSS in SuggestedEdits Bug: T298019 Change-Id: Iebf354ee90ec7212d8121edd97356d0e5e15e274 --- includes/HomepageModules/SuggestedEdits.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git includes/HomepageModules/SuggestedEdits.php includes/HomepageModules/SuggestedEdits.php index 524eea45..2d01ba78 100644 --- includes/HomepageModules/SuggestedEdits.php +++ includes/HomepageModules/SuggestedEdits.php @@ -486,7 +486,7 @@ class SuggestedEdits extends BaseModule { if ( $showTaskPreview ) { $taskPager = $this->getContext()->msg( 'growthexperiments-homepage-suggestededits-pager' ) ->numParams( 1, $tasks->getTotalCount() ) - ->text(); + ->parse(); $button = new ButtonWidget( [ 'label' => $this->getContext()->msg( 'growthexperiments-homepage-suggestededits-mobilesummary-footer-button' )->text(), -- 2.25.1