Clarification 1.1.1: How requirement apply to Single Page Applications (SPA) architectures

Open
#3,290 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Domain
security

Research direction

Start by reading Rule 1.1.1 in the ASVS 5.0 master Markdown and review the issue discussion about SPA processing boundaries. Determine whether the requirement needs clarification for client-side routing, rendering, API calls, or state management; done means the requirement's applicability to SPA architectures is unambiguous.

Written by the indexing model from the issue text.

Description

V1 (prev V5) Will be closed if no response/opposite arguments

Rule: 1.1.1 - Verify that input is decoded or unescaped into a canonical form only once, it is only decoded when encoded data in that form is expected, and that this is done before processing the input further

SPAs often process input at multiple layers (client-side routing, component rendering, API calls, or state management). The requirement mandates decoding before processing, validation, or sanitization, but in an SPA, the boundaries between these steps can be blurred.

The requirement assumes the application can predict when encoded data is expected, but in an SPA, inputs are often processed in a decentralized way (across components, services, or state management), making it hard to enforce this condition uniformly.

Dominant language
HTML
Stars
3.9k
Forks
865
Avg merge
3d 4h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OWASP/ASVS

All issues in OWASP/ASVS

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.