From "Low-Impact" RXSS to Credential Stealer A JS-in-JS Walk...#1345
Merged
carlospolop merged 2 commits intomasterfrom Aug 28, 2025
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://r3verii.github.io/bugbounty/2025/08/25/rxss-credential-stealer.html Content Categories: Based on the analysis, this content was categorized under "Generic Hacking > XSS - JS-in-JS string injection, Unicode WAF bypass, and handler hijack". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
Collaborator
Author
|
merge |
517bbc5 to
f26cca6
Compare
github-actions Bot
pushed a commit
that referenced
this pull request
Aug 28, 2025
…__RXSS_to_Credential_Stealer__A_JS_20250827_063121 From "Low-Impact" RXSS to Credential Stealer A JS-in-JS Walk...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Reflected XSS on Login Page via JS-in-JS Sink
Context and Root Cause
A reflected XSS (RXSS) exists on a login page due to a JS-in-JS sink: a server-side echo of query parameter
lis inserted inside a quoted JavaScript string in an inline script.Because attacker input lands in a JS string, closing the string, in...
🔧 Technical Details
JS-in-JS string injection pattern: When user input is echoed inside a quoted JS string, close the string with
", terminate with;, run payload, then repair with; a = ". Generic skeleton:?param=test";<INJECTION>;a=". This executes attacker JS without needing an HTML context.Unicode-based WAF/backend bypass: Replace flagged identifiers with Unicode escapes to evade naive filters while producing identical runtime co...
🤖 Agent Actions
I explored the repository and found the most relevant section to update is pentesting-web/xss-cross-site-scripting. I reviewed multiple related files to ensure the content wasn’t already present and to match HackTricks style:
What I added/updated:
✅ Review Checklist
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.