# CVE-2026-120497: AWS AI-DLC Workflows aidlc-traceability stored XSS in HTML report

Source: https://junglewise.ai/threats/cve-2026-120497-stored-cross-site-scripting-xss-in-the-html-report-generator-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-02. Updated: 2026-11-02  
License: CC BY 4.0 with a link back

CVE-2026-120497 · Severity: high · CVSS 5 · Published 2026-11-02

The aidlc-traceability command-line tool generates traceability reports from AI-DLC artifact files. A developer with the ability to modify artifact titles or descriptions can inject malicious JavaScript that executes in the browser when another user opens the generated HTML report, potentially stealing credentials or session data. The tool was removed from AWS Labs on 2026-07-16 and is no longer maintained.

Technologies: [Amazon AWS](https://junglewise.ai/threats/technologies/aws). Vendors: [Amazon](https://junglewise.ai/threats/vendors/amazon), [AWS](https://junglewise.ai/threats/vendors/aws).

## Quick answers

**Is CVE-2026-120497 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-120497 being exploited in the wild.

**How severe is CVE-2026-120497?** High severity, with a CVSS score of 5, published 2 November 2026.

**Which products and versions are affected?** AWS AI-DLC Workflows aidlc-traceability >=0.1.0 before commit 96cf0ea (2026-07-03).

**Is there a fix for CVE-2026-120497?** Yes: fixed in commit 96cf0ea (2026-07-03); tool subsequently removed from awslabs/aidlc-workflows on 2026-07-16. Until then: Do not open HTML reports generated by an unpatched copy of the tool from untrusted projects. Use Markdown report output instead of HTML, or regenerate reports only from artifact files you control, until you update or remove the local copy. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-120497 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-120497?** Check whether you run Amazon AWS or AWS AI-DLC Workflows aidlc-traceability at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in commit 96cf0ea (2026-07-03); tool subsequently removed from awslabs/aidlc-workflows on 2026-07-16

Do not open HTML reports generated by an unpatched copy of the tool from untrusted projects. Use Markdown report output instead of HTML, or regenerate reports only from artifact files you control, until you update or remove the local copy.

## Technical details

Stored XSS in the HTML report generator where unsanitized artifact titles and descriptions are embedded into HTML without proper escaping, allowing script injection via crafted artifact metadata. The vulnerability requires an attacker with write access to project artifact files; users viewing the generated HTML report from untrusted projects are at risk. The fix (commit 96cf0ea, 2026-07-03) sanitizes embedded JSON and hardens file-read boundaries.

## Affected products

- AWS AI-DLC Workflows aidlc-traceability >=0.1.0 before commit 96cf0ea (2026-07-03)

## Timeline

- 2026-11-02: disclosed
- 2026-07-03: patched: commit 96cf0ea

## References

- [https://aws.amazon.com/security/security-bulletins/2026-163-aws/](https://aws.amazon.com/security/security-bulletins/2026-163-aws/)
- [https://github.com/awslabs/aidlc-workflows/commit/96cf0eaa31a3ad8636e486c7fd2b91c55166393f](https://github.com/awslabs/aidlc-workflows/commit/96cf0eaa31a3ad8636e486c7fd2b91c55166393f)

## Related threats

- [An untrusted search path issue in Aurora PostgreSQL dialect detection in the AWS Advanced Go Wrapper from release 2026-04-06 (awssql/v2.0.0)](https://junglewise.ai/threats/cve-2026-126793-privilege-escalation-in-aurora-postgresql-dialect-detection-in)
- [AWS SDK for pandas EMR unverified bucket ownership](https://junglewise.ai/threats/cve-2026-127119-unverified-ownership-of-the-default-emr-cluster-log-location-in)
- [Amazon mcp-gateway-registry server-side request forgery in registration API](https://junglewise.ai/threats/cve-2026-125926-server-side-request-forgery-in-the-server-registration-and)
- [Amazon mcp-gateway-registry authorization bypass in management API](https://junglewise.ai/threats/cve-2026-100307-missing-authorization-on-the-external-management-api-in-mcp)
- [AWS Kiro CLI incorrect default permissions on session files](https://junglewise.ai/threats/cve-2026-124848-incorrect-default-permissions-on-session-transcripts-and-prompt)
