CVE-2012-5305: Cross-site scripting (XSS) vulnerability in CMD_DOMAIN in JBMC Software DirectAdmin 1.403 allows remote attack
CVE-2012-5305 is a medium-severity flaw (CVSS 4.3) affecting directadmin. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Cross-site scripting (XSS) vulnerability in CMD_DOMAIN in JBMC Software DirectAdmin 1.403 allows remote attackers to inject arbitrary web script or HTML via the domain parameter.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 4.3 (Medium) |
| EPSS exploit chance | 1.2% (top 33%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2012-10-06 |
| 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
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-2012-5305?
directadmin: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2012-5305 being exploited?
CVE-2012-5305 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-2012-5305 affect?
CVE-2012-5305 affects directadmin. Severity is medium (CVSS 4.3). Cross-site scripting (XSS) vulnerability in CMD_DOMAIN in JBMC Software DirectAdmin 1.403 allows remote attackers to inject arbitrary web script or HTML via the domain parameter.
How urgent is CVE-2012-5305?
Priority 32/100. No elevated risk signals yet.
Related CVEs
- CVE-2025-56551 HIGH 8.2 DOWNGRADE An issue in DirectAdmin v1.680 allows unauthorized attackers to manipulate the page layout and replace the leg
- CVE-2019-9625 HIGH 8.8 DOWNGRADE JBMC DirectAdmin 1.55 allows CSRF via the /CMD_ACCOUNT_ADMIN URI to create a new admin account.
- CVE-2019-11193 MEDIUM 6.1 UPGRADE The FileManager in InfinitumIT DirectAdmin through v1.561 has XSS via CMD_FILE_MANAGER, CMD_SHOW_USER, and CMD
- CVE-2017-18045 CRITICAL 9.8 UPGRADE JBMC DirectAdmin before 1.52, when the email_ftp_password_change setting is nonzero, allows remote attackers t
- CVE-2012-3842 MEDIUM 4.3 DOWNGRADE Multiple cross-site scripting (XSS) vulnerabilities in CMD_DOMAIN in JBMC Software DirectAdmin 1.403 allow rem