Skip to main content

postmanlabs httpbin CVE-2025-15095

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-12-26 cna@vuldb.com
2.0
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Gain authentication credentials
  2. Delivery
    Craft XSS payload in request parameter
  3. Exploit
    Social engineer victim to click malicious link
  4. Execution
    httpbin reflects unsanitized payload
  5. Persist
    JavaScript executes in victim browser
  6. Impact
    Steal session cookie or perform unauthorized action

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

Exploitation requires three specific conditions: (1) the attacker must have valid authentication credentials (PR:L - authenticated user status required) to access httpbin endpoints, (2) a legitimate user must interact with a crafted malicious link or request (UI:P - user interaction mandatory), and (3) the user's browser must have an active session with httpbin. Default installations without authentication enforced do not meet condition 1, limiting exploitation scope. The vulnerability does NOT affect unauthenticated access scenarios or fully isolated deployments restricted to backend-only testing without web UI exposure.

Impact

Real-world risk is LOW despite public exploit availability. The CVSS 4.0 vector shows AV:N (network-accessible) but requires PR:L (authenticated user) and UI:P (user interaction), significantly limiting exploitation scope compared to unauthenticated attacks. EPSS score of 0.02% (4th percentile) indicates minimal observed exploitation attempts in the wild, suggesting the vulnerability is not being weaponized at scale. The impact is limited to integrity (VI:L only), with no confidentiality or availability impact. KEV status is not indicated as active exploitation, and while public exploit code exists, the combination of authentication requirement and user interaction barrier makes this a low priority compared to network-accessible, unauthenticated XSS vulnerabilities. The lack of vendor response despite early notification suggests low business criticality or potential deprioritization by the maintainers.

Exploit ScenarioDerived

An authenticated user logs into a system using httpbin for API testing. An attacker crafts a malicious request containing JavaScript payload and tricks the authenticated user (via phishing or social engineering) into clicking a link that sends this request. The httpbin server reflects the payload in the response without sanitization, executing the attacker's script in the victim's browser context and potentially stealing session tokens or performing actions on their behalf.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 29, 2026

Cross-site scripting (XSS) vulnerability in postmanlabs httpbin up to version 0.6.1 allows authenticated remote attackers to inject malicious scripts via manipulation of an unknown function in httpbin/core.py, requiring user interaction to execute. Public exploit code is available, and the vendor has not yet responded to early disclosure notification despite a low CVSS score of 2.0 and EPSS exploitation probability of 0.02%, indicating minimal real-world risk despite code availability.

RemediationAI

Upgrade postmanlabs httpbin to a version released after 0.6.1 once a patch is available; however, no patched version is currently confirmed from vendor release notes. As a compensating control pending patch availability, disable or restrict access to the affected httpbin instance to trusted networks only using firewall rules or API gateway authentication, as the vulnerability requires PR:L (authenticated access). If httpbin is exposed via a web application, implement a Web Application Firewall (WAF) with XSS signature detection on output encoding rules to block responses containing script tags or event handlers, though this adds latency and may generate false positives. Monitor the official GitHub repository (https://github.com/postmanlabs/httpbin) for security updates, as the maintainers have not yet responded to disclosure but may release a patch without public notification.

Affected ProductsAI

postmanlabs httpbin versions up to and including 0.6.1 are affected, with the vulnerability present in the httpbin/core.py module (CPE match would be cpe:2.3:a:postmanlabs:httpbin:*:*:*:*:*:*:*:* with version constraint <=0.6.1). The issue was reported via GitHub issues (reference: https://github.com/postmanlabs/httpbin/issues/735) and tracked in VulDB under CVE tracking.

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

httpbin is a lightweight HTTP request and response testing utility library written in Python. The vulnerability is a reflected or stored XSS flaw (CWE-79) in the core.py module, meaning unsanitized user input is rendered in HTTP responses without proper output encoding. The affected versions (up to 0.6.1) fail to apply context-appropriate escaping to user-controlled data, allowing injection of JavaScript or HTML payloads. This is a classic web application vulnerability class that affects any component exposing user input in responses.

Know when the next one hits your stack

  • 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

Vendor (vuldb) PRIMARY 2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A security vulnerability has been detected in postmanlabs httpbin up to 0.6.1. This affects an unknown function of the file httpbin-master/httpbin/core.py. The manipulation leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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.

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