Clarification: 1.3.2 "Sanitized"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java, javascript, spring
- Domain
- documentation, security
Research direction
Start by reading the raw .md source for requirement 1.3.2 in the ASVS 5.0 tree, rather than its derived formats. Review how the requirement describes JavaScript, Spring Expression Language, sanitization, and allowlisting; it is done when the wording clearly defines the execution context, threat model, and intended safety guidance.
Written by the indexing model from the issue text.
Description
1.3.2 Verify that the application avoids the use of eval() or other dynamic code execution features such as Spring Expression Language (SpEL). Where there is no alternative, any user input being included must be sanitized before being executed.
- Sanitization can lower the chances of an attack succeeding, but it rarely removes the risk completely. Trying to sanitize executable logic is especially risky and often doesn’t work well. In such cases, validation and strict allowlists are the safer choice.
- The requirement mixes client-side JavaScript concerns with server-side Java expression evaluation into one vague rule, without clarifying the execution context, programming language, or threat model.
- Sanitization means removing or modifying dangerous input, but it doesn’t guarantee the input will be interpreted safely. AS the application cannot safely “sanitize” arbitrary user input and then pass it to a code interpreter. In dynamic code execution contexts, sanitization can give a false sense of security. A safer approach is to use strict allowlists or context-limited variables.
- If the term “sanitized” here actually means strict, context-specific allowlisting and tokenization (and not just generic escaping or string cleaning), that needs to be stated clearly, because it’s not obvious to everyone.
- Dominant language
- HTML
- Stars
- 3.9k
- Forks
- 865
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OWASP/ASVS
-
Crypto appendix: fix title "Post-Quantum Encryption Standards"May be free again A pull request for this issue was closed without being merged. OpenAppendix C
Difficulty 1/5 Under an hour Newbie friendliness 85/100
OWASP/ASVS#3468 · 3 comments ·
Maintainers usually reply within 1 day
-
Crypto appendix: fix notations wrt RSAPossibly taken @randomstuff claimed this 1 day ago. Open1) Discussion ongoing Appendix C V11 (prev V6)
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OWASP/ASVS#3467 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
v5.0.0 4.2.1 cites RFC 2616, which is obsolete; RFC 9112 section 6.3 words the rule differentlyOpenV4 (prev V13) WG wanted
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
V6 (prev V2)
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
OWASP/ASVS#3433 · 4 comments ·
Maintainers usually reply within 1 day
-
Update proposal for v5.0.0-3.3.1 and v5.0.0-3.3.3 to cover __Host-Http- and __Http- cookie name prefixesMay be free again A pull request for this issue was closed without being merged. Open1) Discussion ongoing V3 (prev V50)
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OWASP/ASVS#3429 · 7 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
lem-project/lem#2525 ·
Maintainers usually reply within 1 day
-
infra
Difficulty 1/5 Under an hour Newbie friendliness 94/100
Maintainers usually reply within 1 day
-
Add Strange QuarkOpen
Difficulty 1/5 Under an hour Newbie friendliness 90/100