Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605648

Summary: overlays.g.o: text from repositories.xml isn't escaped
Product: Websites Reporter: Michał Górny <mgorny>
Component: OtherAssignee: Gentoo Website Team <www>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-01-14 09:39:12 UTC
The php class script used to generate overlays.g.o spits the text from inside repositories.xml unescaped to the HTML.

<tr><th><span class="fa fa-fw fa-group" title="Unofficial repository"></span> <a href='https://cgit.gentoo.org/user/improvise.git/'>improvise</a></th><td>Patches and patched ebuilds; xen and python bugs && bumps</td><td><a href='mailto:idella4(at)gentoo.org'>Ian Delaney</a></td></tr>

Note there's '&&' unescaped there.