# CVE-2022-1226: Cross-site Scripting (XSS) in phpipam/phpipam

- Severity: Low 3.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-15T10:57:20.597Z
- Modified: 2026-06-17T04:22:02.937Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- phpipam phpipam/phpipam: from unspecified before 1.4.7
- phpipam phpipam: before 1.4.7

## Every score

- @huntr_ai: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/3fdcf653-fe26-4592-94a1-98ce664618ec> (exploit, third-party-advisory)
- <https://github.com/phpipam/phpipam/commit/50e36b9e4fff5eaa51dc6e42bc684748da378002> (patch)

## Sources

- CVE List: [CVE-2022-1226](https://www.cve.org/CVERecord?id=CVE-2022-1226), CVE Terms of Use, modified 2024-11-15
- NVD: [CVE-2022-1226](https://nvd.nist.gov/vuln/detail/CVE-2022-1226), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1226 · Whole record: https://cve.day/CVE-2022-1226.json · Rebuilt by cve.day 2026-11-25T22:58:20.051Z
