Skip to content

fix: code scanning alert 4 in Burp XML parsing#92

Draft
jbeckwith-oai wants to merge 1 commit intomainfrom
codex/fix-codeql-alert-4-burp-entities
Draft

fix: code scanning alert 4 in Burp XML parsing#92
jbeckwith-oai wants to merge 1 commit intomainfrom
codex/fix-codeql-alert-4-burp-entities

Conversation

@jbeckwith-oai
Copy link
Copy Markdown
Contributor

@jbeckwith-oai jbeckwith-oai commented Apr 13, 2026

Summary

  • decode ampersands after the other XML entities in the Burp parser
  • add a regression test for double-unescape input

Root Cause

The Burp XML parser decoded & before the other named entities. That let encoded entity sequences such as " get decoded twice.

Validation

  • npm test -- src/parsers/burp-entities.test.ts
  • npm run build

@jbeckwith-oai jbeckwith-oai changed the title [codex] Fix code scanning alert 4 in Burp XML parsing fix: code scanning alert 4 in Burp XML parsing Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant