Title: Reflected_XSS_All_Clients @ xss.java · Issue #8 · DefenderForCodeOrg/astlab · GitHub
Open Graph Title: Reflected_XSS_All_Clients @ xss.java · Issue #8 · DefenderForCodeOrg/astlab
X Title: Reflected_XSS_All_Clients @ xss.java · Issue #8 · DefenderForCodeOrg/astlab
Description: Reflected_XSS_All_Clients issue exists @ xss.java in branch main The application's printSanitizedName embeds untrusted data in the generated output with println, at line 16 of /src/xss.java. This untrusted data is embedded straight into ...
Open Graph Description: Reflected_XSS_All_Clients issue exists @ xss.java in branch main The application's printSanitizedName embeds untrusted data in the generated output with println, at line 16 of /src/xss.java. This u...
X Description: Reflected_XSS_All_Clients issue exists @ xss.java in branch main The application's printSanitizedName embeds untrusted data in the generated output with println, at line 16 of /src/xss.java. Th...
Opengraph URL: https://github.com/DefenderForCodeOrg/astlab/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reflected_XSS_All_Clients @ xss.java","articleBody":"**Reflected\\_XSS\\_All\\_Clients** issue exists @ **xss\\.java** in branch **main**\r\n\r\nThe application's printSanitizedName embeds untrusted data in the generated output with println, at line 16 of /src/xss.java. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.\n\nThe attacker would be able to alter the returned web page by simply providing modified data in the user input \"\"Info\"\", which is read by the loadInfo method at line 84 of /src/xss.java. This input then flows through the code straight to the output web page, without sanitization. \r\n\r\nThis can enable a Reflected Cross-Site Scripting (XSS) attack.\r\n\r\n**Namespace:** James-AST\r\n**Repository:** astlab\r\n**Repository Url:** https://github.com/James-AST/astlab\r\n**CxAST\\-Project:** James-AST/astlab\r\n**CxAST platform scan:** [8d73a497\\-bbc7\\-4126\\-b536\\-ea634bc032dd](https://ast.checkmarx.net/projects/f9affdfe-1e7c-4bfc-a40a-f266cde328d3/scans?id=8d73a497-bbc7-4126-b536-ea634bc032dd\u0026branch=main)\r\n**Branch:** main\r\n**Application:** astlab\r\n**Severity:** HIGH\r\n**State:** TO_VERIFY\r\n**Status:** RECURRENT\r\n**CWE:** 79\r\n**Lines:** [21](https://github.com/James-AST/astlab/blob/main/src/xss.java#L21) [27](https://github.com/James-AST/astlab/blob/main/src/xss.java#L27) [35](https://github.com/James-AST/astlab/blob/main/src/xss.java#L35) [49](https://github.com/James-AST/astlab/blob/main/src/xss.java#L49) [56](https://github.com/James-AST/astlab/blob/main/src/xss.java#L56) [63](https://github.com/James-AST/astlab/blob/main/src/xss.java#L63) [70](https://github.com/James-AST/astlab/blob/main/src/xss.java#L70) [77](https://github.com/James-AST/astlab/blob/main/src/xss.java#L77) [84](https://github.com/James-AST/astlab/blob/main/src/xss.java#L84) \r\n\r\n----\r\n**References**\r\n[Read more](https://ast.checkmarx.net/results/8d73a497-bbc7-4126-b536-ea634bc032dd/f9affdfe-1e7c-4bfc-a40a-f266cde328d3/sast/description/79/8481125285487743346)\r\n","author":{"url":"https://github.com/jbrotsos","@type":"Person","name":"jbrotsos"},"datePublished":"2022-04-26T16:35:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8/astlab/issues/8"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9d77918c-d1d7-5b30-78ea-7f4d26758df3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4D2:12F16C:B895D:FAA66:6A5A5778 |
| html-safe-nonce | 4c832ab2984a47f20a8c1681c21ed475979d5fdc9fe31846b5f8fefa886163f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEQyOjEyRjE2QzpCODk1RDpGQUE2Njo2QTVBNTc3OCIsInZpc2l0b3JfaWQiOiI2NDYzNTA0Mzg1ODQzMDI1Nzg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 394b66f52e9ca185067417786e9f87122134e1909c6cc7ca8d269662a2e9ba91 |
| hovercard-subject-tag | issue:1216210168 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DefenderForCodeOrg/astlab/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90ab8cc75c0f44d335caff9fd0d7c6c94354799f00da7dc9513ff7a14ae831b8/DefenderForCodeOrg/astlab/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90ab8cc75c0f44d335caff9fd0d7c6c94354799f00da7dc9513ff7a14ae831b8/DefenderForCodeOrg/astlab/issues/8 |
| og:image:alt | Reflected_XSS_All_Clients issue exists @ xss.java in branch main The application's printSanitizedName embeds untrusted data in the generated output with println, at line 16 of /src/xss.java. This u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jbrotsos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 05b9ddf6a47d2dbe13944873a99f5fb4b83ba4871f9cb8a8e256793a63ca9687 |
| turbo-cache-control | no-preview |
| go-import | github.com/DefenderForCodeOrg/astlab git https://github.com/DefenderForCodeOrg/astlab.git |
| octolytics-dimension-user_id | 83890223 |
| octolytics-dimension-user_login | DefenderForCodeOrg |
| octolytics-dimension-repository_id | 458868217 |
| octolytics-dimension-repository_nwo | DefenderForCodeOrg/astlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 458868217 |
| octolytics-dimension-repository_network_root_nwo | DefenderForCodeOrg/astlab |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8d29d1bd03dda2dd14b3f80b8bc27e1111f43bd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width