CWE-79 / WEAKNESS
Improper Neutralization of Input During Web Page Generation
Untrusted input is included in a web output context without appropriate neutralization.
- Category
- CWE weaknesses
- Version / scope
- MITRE CWE live reference; snapshot 2026-11-18
- Affected / relevant technologies
- Web browsers / HTML
- Evidence
- Documentation: editorial summary; publisher link access checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Attacker-influenced data reaches an executable browser context.
Potential impact
Actions or data exposure in the victim's application context.
Detection and investigation
- Review source-to-output paths and context-specific encoding; correlate browser reports with request evidence.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- Use safe templating and context-appropriate encoding; avoid dangerous DOM APIs and apply defense-in-depth browser policy.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Related technical context
Related security reading
Continue directly to another reference. Editorial reading connections do not assert official CWE/CAPEC/ATT&CK/OWASP equivalence or mappings.
- A05:2025 — Injection (risk)
- CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (weakness)
- CAPEC-66 — SQL Injection (attack-pattern)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (weakness)
- CAPEC-63 — Cross-Site Scripting (XSS) (attack-pattern)
Publisher weakness and attack-pattern relationships
These relationships retain the publisher's source attributes and view context; they do not establish that an attack or weakness applies to a particular system.
- CAPEC-209 → Related_Weakness → CWE-79 Open related reference
- CAPEC-588 → Related_Weakness → CWE-79 Open related reference
- CAPEC-591 → Related_Weakness → CWE-79 Open related reference
- CAPEC-592 → Related_Weakness → CWE-79 Open related reference
- CAPEC-63 → Related_Weakness → CWE-79 Open related reference
- CAPEC-85 → Related_Weakness → CWE-79 Open related reference
- CWE-113 → CanPrecede → CWE-79 Open related reference
- CWE-184 → CanPrecede → CWE-79 Open related reference
- CWE-79 → Related_Attack_Pattern → CAPEC-209 Open related reference
- CWE-79 → Related_Attack_Pattern → CAPEC-588 Open related reference
- CWE-79 → Related_Attack_Pattern → CAPEC-591 Open related reference
- CWE-79 → Related_Attack_Pattern → CAPEC-592 Open related reference
- CWE-79 → Related_Attack_Pattern → CAPEC-63 Open related reference
- CWE-79 → Related_Attack_Pattern → CAPEC-85 Open related reference
- CWE-79 → PeerOf → CWE-352 Open related reference
- CWE-79 → CanPrecede → CWE-494 Open related reference
- CWE-79 → ChildOf → CWE-74 Open related reference
- CWE-79 → ChildOf → CWE-74 Open related reference
- CWE-80 → ChildOf → CWE-79 Open related reference
- CWE-81 → ChildOf → CWE-79 Open related reference
- CWE-83 → ChildOf → CWE-79 Open related reference
- CWE-84 → ChildOf → CWE-79 Open related reference
- CWE-85 → ChildOf → CWE-79 Open related reference
- CWE-86 → ChildOf → CWE-79 Open related reference
- CWE-87 → ChildOf → CWE-79 Open related reference
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Summaries are original editorial explanations. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- CWE - CWE-79: Improper Neutralization of Input During Web Page Generation (5.0) — source accessed 2026-11-18
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
