CVE-2022-1226: Cross-site Scripting (XSS) in phpipam/phpipam
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-1226?
CVE-2022-1226 is considered a moderate severity Cross-Site Scripting (XSS) vulnerability.
How do I fix CVE-2022-1226?
To fix CVE-2022-1226, update phpipam to version 1.4.7 or later.
What versions of phpipam are affected by CVE-2022-1226?
CVE-2022-1226 affects all versions of phpipam prior to 1.4.7.
What type of vulnerability is CVE-2022-1226?
CVE-2022-1226 is a Cross-Site Scripting (XSS) vulnerability.
What feature of phpipam is impacted by CVE-2022-1226?
CVE-2022-1226 impacts the import Data set feature via a spreadsheet file upload.