Vulnerability in Trac HTML Sanitizer Filter
Summary
CVE-2008-5647: Trac has vulnerability in HTML sanitizer filter. Affects trac versions < 0.11.2. Fixed in 0.11.2. How to fix ↓
Also tracked for
- trac · Debian:13
The same CVE-2008-5647 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Trac is an open-source project management and issue tracking system written in Python. It provides a web-based interface for managing software development projects. Trac is widely used by software development teams to track bugs, manage tasks, and collaborate on projects. The HTML sanitizer filter in Trac is responsible for sanitizing user-generated content to prevent cross-site scripting (XSS) attacks and other security vulnerabilities. However, a vulnerability has been discovered in the HTML sanitizer filter in versions prior to 0.11.2.
Vulnerability Detail
The vulnerability in the HTML sanitizer filter in Trac allows attackers to conduct phishing attacks. The specific attack vectors are unknown at this time. However, it is likely that the vulnerability can be exploited by injecting malicious HTML code into user-generated content. When unsuspecting users view the content, they may be tricked into revealing sensitive information or performing actions that they did not intend to. This vulnerability poses a moderate risk to Trac installations.
How To Fix
Latest published version: 1.6.0 as of 22 Oct 2026
pip install --upgrade "trac==1.6.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
0.11.2
This is the first release that contains the fix.
pip install --upgrade "trac==0.11.2"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If upgrading to the latest version of Trac is not immediately feasible, a temporary workaround is to disable user-generated content or implement additional input validation and sanitization measures. This can help mitigate the risk of exploitation until a proper fix can be applied.
Conclusion
In conclusion, the HTML sanitizer filter vulnerability in Trac poses a moderate risk to Trac installations. It is important to upgrade to the latest version of Trac or apply the recommended workarounds to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for trac →
FAQ
Trac is an open-source project management and issue tracking system.
The HTML sanitizer filter in Trac is responsible for sanitizing user-generated content to prevent security vulnerabilities.
This vulnerability allows attackers to conduct phishing attacks, potentially leading to the disclosure of sensitive information.
To fix this vulnerability, upgrade Trac to version 0.11.2 or later.
A temporary workaround is to disable user-generated content or implement additional input validation and sanitization measures.
Related vulnerabilities
Recent vulnerabilities recorded for trac.