fix(anatomy): V1-2.2 read url() references in their strict spelling only
Security review BLOCK(1): url(#%61) passed the dangling check and the per-view scoping and resolved in browsers. One strict reading now, other spellings are active content; glued names are other functions; the composer refuses an unscoped reference; owner export procedure.
This commit is contained in:
1 parent
5281337412
commit
a678faaa23
13 files changed
+553
-70
No files matched your search
@@ -93,3 +93,15 @@ Brief « V1-2.2 : arbitrages du propriétaire et finalisation » on `17d9199`. D
|
||||
- B7 Wasm: `--remove-name-section` only; the 600 000-byte cap and `size.test.ts` unchanged.
|
||||
- B8 Still: no SQL change, no protected reader modified (A13), the N-1 copies and frozen oracle files untouched (declared
|
||||
changes applied in tests only), no DEV operation, no merge.
|
||||
|
||||
### After the reviews of 5281337 (security BLOCK(1) HIGH, verifier ECARTS(2))
|
||||
|
||||
Delta under review: `5281337..HEAD`.
|
||||
|
||||
- B9 A `url(` is kept only in its strict spelling (`sanitize::local_url_target`); every other spelling a browser could
|
||||
normalise (`%XX`, tab, space or unbalanced quote inside, empty or non-ASCII id) is active content; `url(` or `rgb(`
|
||||
glued to a longer name (ASCII or not) is another function; a colour is not glued to what follows; the composer refuses,
|
||||
fail-closed, a canvas keeping a reference outside its scope (`unscoped_reference`). Tests written apart from the reader
|
||||
(`svg_clean::every_url_spelling_but_the_strict_one_is_refused`, `svg_scope::every_reference_a_browser_reads_stays_in_its_view`).
|
||||
- B10 The verifier's doc drift fixed (RUST.md §12.1, §12.4, §12.5, §12.6; exports README); the MEDIUM (scope unique per
|
||||
document only) recorded as a requirement for any page inlining two documents (contract §10, RUST.md §12.7).
|
||||
Reference in new issue
Block a user