Closed (fixed)
Project:
Omega
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2012 at 02:01 UTC
Updated:
13 Feb 2012 at 19:50 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | omega-escape-sitename-in-logo-attributes-1395848.patch | 7.59 KB | jwilson3 |
Comments
Comment #1
jwilson3This patch also cleans up a bunch of whitespace issues in the
template.phpfile.Comment #2
fubhy commentedCommited. Thanks