Dosage Vulnerable to Stored Cross-Site Scripting (XSS) in HTML/RSS Output Handlers
Affects dosageSource GCVE Database
CVSS 6.1 Medium : upgrade to 3.3 when convenient.
Data as of 22 Jul 2026, 00:55 UTC
- Patch
- Available – fixed in 3.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWhat to do
Upgrade dosage to 3.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIdosage | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid opening HTML or RSS files generated by vulnerable dosage versions with untrusted content. Applying proper HTML escaping or sanitization to all user-controlled content before writing to output files is necessary to prevent exploitation.
Description
Dosage versions prior to 3.3 contain a stored cross-site scripting (XSS) vulnerability in their HTML and RSS output handlers. User-controlled content such as comic text and page URLs are written directly into generated HTML and RSS files without proper HTML escaping. This allows attacker-controlled JavaScript to execute in the browser when a user opens these files. The vulnerability stems from the lack of sanitization or escaping of untrusted input before writing to output files.