OWASP / OWASP/ASVS

Clarification: V1.3.10 "sanitized before being processed"

Open
#3,209 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2) Awaiting response V1 (prev V5)
Dominant language
HTML
Stars
3.6k
Forks
831
Avg merge
7h 55m
Merged PRs (30d)
4

Description

Verify that format strings which might resolve in an unexpected or malicious
way when used are sanitized before being processed

“sanitized before being processed”

The statement doesn’t emphasize stronger practices, such as using hardcoded format strings or validating against an allowlist of expected patterns. As “Sanitized” is not the right verb to use, as the vulnerability lies in structure not in special characters. The statement should be – “Ensure untrusted input is never used as a format string, only as a value for formatting.”

“Might Resolve in an Unexpected or Malicious Way”

This is ambiguous, as "unexpected" or "malicious" depends on the context (e.g, programming language, framework or function used), The requirement doesn’t specify the types of risks. Without clear definitions developers might apply insufficient checks.

The requirement should clarify the context and risks

Contributor guide

Open the contributing guide

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.

Research direction

Locate requirement V1.3.10 in the ASVS text and review the wording around “sanitized before being processed” and “might resolve in an unexpected or malicious way.” Compare it with the proposed wording, then update the requirement so the format-string guidance and relevant risks are explicit.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, security
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.