CVE-2004-0254: Cross-site scripting (XSS) vulnerability in Discuz! Board 2.x and 3.x allows remote attackers to execute arbit
CVE-2004-0254 is a medium-severity flaw (CVSS 6.8) affecting discuz. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Cross-site scripting (XSS) vulnerability in Discuz! Board 2.x and 3.x allows remote attackers to execute arbitrary script as other users via an img tag.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.8 (Medium) |
| EPSS exploit chance | 2.0% (top 19%) |
| CISA exploited list | No |
| Published | 2004-11-23 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Discuz! 2.0/3.0 - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0254?
discuz: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0254 being exploited?
CVE-2004-0254 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0254 affect?
CVE-2004-0254 affects discuz. Severity is medium (CVSS 6.8). Cross-site scripting (XSS) vulnerability in Discuz! Board 2.x and 3.x allows remote attackers to execute arbitrary script as other users via an img tag.
How urgent is CVE-2004-0254?
Priority 49/100. Public exploit reference
Related CVEs
- CVE-2008-3554 HIGH 7.5 DOWNGRADE SQL injection vulnerability in index.php in Discuz! 6.0.1 allows remote attackers to execute arbitrary SQL com
- CVE-2005-2614 HIGH 7.5 UPGRADE Discuz! 4.0 rc4 does not properly restrict types of files that are uploaded to the server, which allows remote