andrewmusselman opened a new issue, #768:
URL: https://github.com/apache/tooling-trusted-releases/issues/768

   **ASVS:** 1.2.2 | **CWE:** CWE-79 | **Severity:** LOW | **Effort:** Low
   
   ### Description
   
   In `atr/get/sbom.py` (lines ~267–277), URLs from OSV vulnerability scan 
results are rendered in `href` attributes without validating they use safe 
protocols (`http`/`https`). A compromised OSV database or malicious SBOM could 
inject `javascript:` URLs.
   
   ### Remediation
   
   Validate URLs against `http://` and `https://` before rendering in `href` 
attributes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to