Cross-site scripting in SABnzbd - #VU153370

 

Cross-site scripting in SABnzbd - #VU153370

Published: October 6, 2026


Vulnerability identifier: #VU153370
CSH Severity: Medium
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript in the SABnzbd web interface and access the API key.

The vulnerability exists due to incomplete HTML sanitization in get_last_line() in postproc.py and the Glitter download history interface when processing and rendering post-processing script output. A remote attacker can supply a crafted X-DNZB-Failure HTTP response header or an NZB file containing crafted failure metadata to execute arbitrary JavaScript in the SABnzbd web interface and access the API key.

Exploitation requires a configured post-processing script that produces more than one line of output and echoes attacker-controlled metadata on its final line. The provided Sample-PostProc.sh script meets these requirements. A user must expand the job details in the download history to trigger execution.


Affected software

SABnzbd

Remediation

Install security update from vendor's website.

SABnzbd - update to 5.2.0 Beta2

External References

Related Security Bulletins