Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F60144263
T394590.diff
SomeRandomDeveloper
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
SomeRandomDeveloper
May 17 2025, 10:01 PM
2025-05-17 22:01:36 (UTC+0)
Size
774 B
Referenced Files
None
Subscribers
None
T394590.diff
View Options
diff --git a/includes/WikiCategoryTagCloud.php b/includes/WikiCategoryTagCloud.php
index effc825..d42f52a 100644
--- a/includes/WikiCategoryTagCloud.php
+++ b/includes/WikiCategoryTagCloud.php
@@ -192,9 +192,15 @@ class WikiCategoryTagCloud {
$style .= ';';
}
$style .= "font-size: {$textSize}%;";
- $currentRow = '<a class="' . implode( ' ', $linkClasses ) .
- "\" style=\"{$style}\" href=\"" . $title->getLocalURL() . '">' .
- $title->getText() . '</a>  ';
+ $currentRow = Html::element(
+ 'a',
+ [
+ 'class' => implode( ' ', $linkClasses ),
+ 'style' => $style,
+ 'href' => $title->getLocalURL()
+ ],
+ $title->getText()
+ ) . '  ';
$htmlOut = $htmlOut . $currentRow;
}
$htmlOut = $htmlOut . '</div>';
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20119807
Default Alt Text
T394590.diff (774 B)
Attached To
Mode
T394590: CVE-2025-53486: Reflected XSS in WikiCategoryTagCloud
Attached
Detach File
Event Timeline
Log In to Comment