XSS in Opnsense
CVE-2019-25368
OPNsense 19.1 contains multiple cross-site scripting vulnerabilities in the diag_backup.php endpoint that allow attackers to inject malicious scripts through multiple parameters including GDrive_GDriveEmail, GDrive_GDriveFolderID, GDrive_GDriveBackupCount, Nextcloud_url, Nextcloud_user, Nextcloud_password, Nextcloud_password_encryption, and Nextcloud_backupdir. Attackers can submit POST requests with script payloads in these parameters to execute arbitrary JavaScript in the context of authenticated administrator sessions.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.001 (2.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 3rd percentile — 2.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000
Affected products
- Opnsense — versions 19.1
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/46351 (Exploit, VDB Entry, Third Party Advisory, exploit)
- opnsense.org (Product, product)
- forum.opnsense.org/index.php (Release Notes, patch)
- www.vulncheck.com/advisories/opnsense-reflected-xss-via-diagbackupphp (Broken Link, third-party-advisory)
Frequently asked questions
- What is CVE-2019-25368?
- CVE-2019-25368 is a medium-severity vulnerability in Opnsense, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-02-15.
- How severe is CVE-2019-25368?
- Medium severity. CVSS v3 base score is 5.4 out of 10.