Skip to main content
VulnerabilityPublished Updated

Dosage Vulnerable to Stored Cross-Site Scripting (XSS) in HTML/RSS Output Handlers

Affects dosageSource GCVE Database

0

CVSS 6.1 Medium : upgrade to 3.3 when convenient.

Data as of 22 Jul 2026, 00:55 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What to do

Upgrade dosage to 3.3.

Affected software

ProductAffectedFixed in
PyPIdosageAffected
  • <3.3
Fixed in
  • 3.3

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.

References

Community reviews

Loading reviews…