Download & Extend

Escape site_name in Logo image alt / title text

Project:Omega
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Omega does not properly escape the site_name variable when it uses it for the alt or title attributes in the $logo_img and $linked_logo_img template variables.

This means if a site_name has any html code in it, that rendering the logo image in the page could render undesired (eg xss) html codes.

Patch coming below.

Comments

#1

Status:active» needs review

This patch also cleans up a bunch of whitespace issues in the template.php file.

AttachmentSizeStatusTest resultOperations
omega-escape-sitename-in-logo-attributes-1395848.patch7.59 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

Commited. Thanks

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.