Files
superset2/tests/unit_tests/utils
rusackasandClaude Opus 4.8 3c209290af fix: document 403 responses on semantic-view endpoints; close unterminated-script XSS gap in SVG sanitizer
- Add the missing 403 OpenAPI response to the semantic-view structure and
  delete endpoints, matching the raise_for_access/response_403 calls they
  already make.
- Fix sanitize_svg_content to drop everything after an unterminated
  <script> opener instead of just the tag itself, since browsers treat an
  unterminated <script> as consuming the rest of the document. Strengthen
  the regression test to assert the payload text is gone too.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-21 10:48:10 -07:00
..