XSS in Phpipam
CVE-2022-1226
A Cross-Site Scripting (XSS) vulnerability in phpipam/phpipam versions prior to 1.4.7 allows attackers to execute arbitrary JavaScript code in the browser of a victim. This vulnerability affects the import Data set feature via a spreadsheet file upload. The affected endpoints include import-vlan-preview.php, import-subnets-preview.php, import-vrf-preview.php, import-ipaddr-preview.php, import-devtype-preview.php, import-devices-preview.php, and import-l2dom-preview.php. The vulnerability can be exploited by uploading a specially crafted spreadsheet file containing malicious JavaScript payloads, which are then executed in the context of the victim's browser. This can lead to defacement of websites, execution of malicious JavaScript code, stealing of user cookies, and unauthorized access to user accounts.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (32.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 32.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Phpipam
- Phpipam Phpipam/phpipam — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/3fdcf653-fe26-4592-94a1-98ce664618ec (Exploit, Third Party Advisory)
- github.com/phpipam/phpipam/commit/50e36b9e4fff5eaa51dc6e42bc684748da378002 (Patch)
Frequently asked questions
- What is CVE-2022-1226?
- CVE-2022-1226 is a medium-severity vulnerability in Phpipam, classified under Cross-site Scripting. CVSS score: 4.8/10. Published 2024-11-15.
- How severe is CVE-2022-1226?
- Medium severity. CVSS v3 base score is 4.8 out of 10.