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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-15 · Modified: 2024-11-15
- Record: https://cvemate.com/vulnerability/CVE-2022-1226 · JSON: https://cvemate.com/vulnerability/CVE-2022-1226/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.426%, percentile 38.793%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- phpipam phpipam: \< 1.4.7
- phpipam phpipam/phpipam: ≥ unspecified, \< 1.4.7

## References

- <https://huntr.com/bounties/3fdcf653-fe26-4592-94a1-98ce664618ec>
- <https://github.com/phpipam/phpipam/commit/50e36b9e4fff5eaa51dc6e42bc684748da378002>

---

Data as of 2026-12-05T11:51:17.502Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
