CVE-2021-3427: XSS

Published Aug 26, 2022
·
Updated

The Deluge Web-UI is vulnerable to cross-site scripting through a crafted torrent file. The the data from torrent files is not properly sanitised as it's interpreted directly as HTML. Someone who supplies the user with a malicious torrent file can execute arbitrary Javascript code in the context of the user's browser session.

Other sources

The Deluge Web-UI is vulnerable to XSS through a crafted torrent file. The the data from torrent files is not properly sanitised as it's interpreted directly as HTML. Someone who supplies the user with a malicious torrent file can execute arbitrary Javascript code in the context of the user's browser session.

Affected Software

7 affected componentsFixes available
pip/deluge>=0<2.1.0
2.1.0
Deluge-torrent Deluge<2.1.0
ubuntu/deluge*
ubuntu/deluge*
ubuntu/deluge*
ubuntu/deluge*
ubuntu/deluge*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/deluge to a version that resolves this vulnerability.

    Fixed in 2.1.0

Event History

Aug 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Aug 27, 2022
Advisory Published
via GitHub·12:00 AM

Frequently Asked Questions

1

What is the severity of CVE-2021-3427?

The severity of CVE-2021-3427 is classified as medium due to its potential to allow cross-site scripting via malicious torrent files.

2

How do I fix CVE-2021-3427?

To fix CVE-2021-3427, upgrade to Deluge version 2.1.0 or later, which includes safeguards against this vulnerability.

3

Who is affected by CVE-2021-3427?

CVE-2021-3427 affects users of Deluge versions prior to 2.1.0 who use the Web-UI to manage torrent files.

4

What kind of attack can be executed using CVE-2021-3427?

An attacker can execute arbitrary JavaScript code in the context of the Web-UI through a crafted torrent file.

5

Is CVE-2021-3427 specific to certain platforms?

CVE-2021-3427 is not platform-specific but affects any system running the vulnerable versions of Deluge regardless of the operating system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203