CVE-2011-0728 Loggerhead XSS via filename

Low 3.5 Published Updated

Authenticated users can inject arbitrary scripts via filenames in Loggerhead revision views, potentially compromising other users' sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2011-0728?

CVE-2011-0728 is a low-severity cross-site scripting vulnerability in n/a, published on 29 Mar 2011. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in templatefunctions.py in Loggerhead before 1.18.1 allows remote authenticated users to inject arbitrary web script or HTML via a filename, which is not properly handled in a revision view.

Weakness: CWE-79

Which versions are affected by CVE-2011-0728?

3 open source packages ship an affected version, including loggerhead. It affects 1 product.

PackageAffectedFixed in
loggerhead PyPIAll versions1.18.1
loggerhead PyPIAll versions1.18.1
loggerhead PyPIAll versions1.18.1

Products include Michael Hudson-Doyle Loggerhead.

How do I fix CVE-2011-0728?

Upgrade loggerhead to 1.18.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2011-0728 being exploited?

There is no known exploitation of CVE-2011-0728 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2011-0728, GHSA-qjmg-77xh-7mjw, PYSEC-2026-840.

Is CVE-2011-0728 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free