<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-03T21:40:25.781342+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2024-41810</id>
    <title>CVE-2024-41810 — HTML injection in HTTP redirect body</title>
    <updated>2026-10-03T21:40:25.860213+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> twisted, twistedmatrix twisted</p>
<p>Twisted is an event-based framework for internet applications, supporting Python 3.6+. The `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body. This vulnerability is fixed in 24.7.0rc1.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2024-41810"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-cf56-g6w6-pqq2</id>
    <title>GHSA-cf56-g6w6-pqq2 — Twisted vulnerable to HTML injection in HTTP redirect body</title>
    <updated>2026-10-03T21:40:25.860323+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: twisted</p>
<p>### Summary</p>
<p>The `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body.</p>
<p>### Details
Twisted’s `redirectTo` function generates an `HTTP 302 Redirect` response. The response contains an HTML body, built for exceptional cases where the browser doesn’t properly handle the redirect, allowing the user to click a link, navigating them to the specified destination.</p>
<p>The function reflects the destination URL in the HTML body without any output encoding. 
```python
# https://github.com/twisted/twisted/blob/trunk/src/twisted/web/_template_util.py#L88
def redirectTo(URL: bytes, request: IRequest) -&gt; bytes:
    # ---snip---
    content = b"""
&lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv=\"refresh\" content=\"0;URL=%(url)s\"&gt;
    &lt;/head&gt;
    &lt;body bgcolor=\"#FFFFFF\" text=\"#000000\"&gt;
    &lt;a href=\"%(url)s\"&gt;click here&lt;/a&gt;
    &lt;/body&gt;
&lt;/html&gt;
""" % {
        b"url": URL
    }
    return content
```</p>
<p>If an attacker has full or partial control over redirect location due to an application bug, also known as an “Open Redirect”, they may inject arbitrary HTML into the response’s body, ultimately leading to an XSS attack.</p>
<p>It’s worth noting that the issue is known to maintainers and tracked with GitHub [Issue#9839](https://github.com/twisted/twisted/issues/9839). The issue description, however, does…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-cf56-g6w6-pqq2"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2024-75</id>
    <title>PYSEC-2024-75</title>
    <updated>2026-10-03T21:40:25.860425+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: twisted</p>
<p>Twisted is an event-based framework for internet applications, supporting Python 3.6+. The `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body. This vulnerability is fixed in 24.7.0rc1.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2024-75"/>
  </entry>
</feed>
