Mako 'cgi.escape()' Cross-Site Scripting Vulnerability

BID:41278

Info

Mako 'cgi.escape()' Cross-Site Scripting Vulnerability

Bugtraq ID: 41278
Class: Input Validation Error
CVE: CVE-2010-2480
Remote: Yes
Local: No
Published: Jun 23 2010 12:00AM
Updated: Apr 13 2015 09:34PM
Credit: Craig Younkins
Vulnerable: Ubuntu Ubuntu Linux 10.04 sparc
Ubuntu Ubuntu Linux 10.04 powerpc
Ubuntu Ubuntu Linux 10.04 i386
Ubuntu Ubuntu Linux 10.04 amd64
S.u.S.E. openSUSE 11.3
S.u.S.E. openSUSE 11.2
Mako Mako 0.3.3
Not Vulnerable: Mako Mako 0.3.4

Discussion

Mako 'cgi.escape()' Cross-Site Scripting Vulnerability

Mako is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input data.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

The issue affects Mako versions prior to 0.3.4.

Exploit / POC

Mako 'cgi.escape()' Cross-Site Scripting Vulnerability

To exploit this issue, an attacker must entice an unsuspecting user to follow a malicious URI.

Solution / Fix

Mako 'cgi.escape()' Cross-Site Scripting Vulnerability

Solution:
Updates are available. Please see the references for more information.


Ubuntu Ubuntu Linux 10.04 amd64

Ubuntu Ubuntu Linux 10.04 powerpc

Ubuntu Ubuntu Linux 10.04 sparc

Ubuntu Ubuntu Linux 10.04 i386

References

Mako 'cgi.escape()' Cross-Site Scripting Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report