Skip to content

AutoFix PR - #14

Open
nishfath wants to merge 5 commits into
masterfrom
qwietai/autofix/fix0007
Open

nishfath wants to merge 5 commits into
masterfrom
qwietai/autofix/fix0007

Conversation

@nishfath

@nishfath nishfath commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Harness SAST and SCA AutoFix

This PR was created automatically by the Harness SAST and SCA AutoFix tool.
As long as it is open, subsequent scans and generated fixes to this same branch will be added to it as new commits.

Each commit fixes one vulnerability.

Some manual intervention might be required before merging this PR.

Project Information

Findings/Vulnerabilities Fixed

Finding 16: Directory Traversal: Attacker-controlled Data Used in File Path via request in CustomerController.saveSettings

Vulnerability Description

Attacker-Controlled input data is used as part of a file path to write a file without escaping or validation. This indicates a directory traversal vulnerability.

  • Severity: critical
  • CVSS Score: 9 (critical)
  • CWE: 22
  • Category: Directory Traversal
Commits/Files Changed

Finding 9: Cross-Site Scripting: Attacker-Controlled Data Used as HTML Content via customerId in CustomerController.debug

Vulnerability Description

Attacker-Controlled data is used as HTML content. This indicates a Cross-Site-Scripting (XSS) vulnerability.

  • Severity: high
  • CVSS Score: 8 (high)
  • CWE: 79
  • Category: Cross-Site Scripting
Commits/Files Changed

Finding 6: Cross-Site Scripting: Attacker-Controlled Data Used as HTML Content via tin in CustomerController.debug

Vulnerability Description

Attacker-Controlled data is used as HTML content. This indicates a Cross-Site-Scripting (XSS) vulnerability.

  • Severity: high
  • CVSS Score: 8 (high)
  • CWE: 79
  • Category: Cross-Site Scripting
Commits/Files Changed

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