Tech Insights

AWS Fixes Stored XSS in AI-DLC Traceability Reports

AWS disclosed CVE-2026-120497 in the HTML report generator for aidlc-traceability and says the issue is fixed in commit 96cf0ea or later.

Featured image for AWS Fixes Stored XSS in AI-DLC Traceability Reports

Traceability reports are meant to make an AI-assisted project easier to inspect. They turn artifact files into a view that helps a team see what was requested, what was produced and how the pieces connect. But the report itself is still software output, and the browser that opens it is still an execution environment.

AWS has disclosed CVE-2026-120497, a stored cross-site scripting issue in the HTML report generator of aidlc-traceability, an open-source command-line tool formerly published in the awslabs/aidlc-workflows repository. In its November 2, 2026 security bulletin, AWS says an actor who can modify a project’s AI-DLC artifact files could place a crafted title or description in a generated report and execute script in the browser of a person who opens that HTML file.

The fix is not a new major version. AWS points to commit 96cf0ea, dated July 3, 2026, and says the old CLI was later removed from the original repository. That combination—an advisory published after a fix exists, plus a tool that is no longer maintained in its former home—makes this a useful case study in how teams should think about generated documentation in AI workflows.

What aidlc-traceability was designed to do

The tool generated traceability-matrix reports from a project’s AI-DLC artifact files. In plain language, it helped turn structured project material into a report that could be reviewed in a browser or as Markdown.

That workflow is attractive because AI-assisted development creates a lot of intermediate material: requirements, decisions, design notes, implementation artifacts and validation records. A traceability view can provide a single place to follow the relationship between those pieces. The convenience also creates a trust assumption: the report reader expects text that describes a project, not markup that changes what the browser does.

A title or description may look like ordinary content. In an HTML generator, however, it becomes part of a document interpreted by a browser. The security boundary is therefore not only the CLI’s input parser; it also includes the transformation from artifact content to HTML.

What AWS says the vulnerability allowed

AWS describes the issue as stored XSS in the HTML report generator. “Stored” means the payload is saved in an input source first—in this case, an AI-DLC artifact title or description—and is executed later when someone opens a generated report.

The bulletin does not describe an anonymous network attack. The actor must be able to modify a project’s artifact files. The second condition is that another user opens the resulting HTML traceability report in a browser. The risk is created by the handoff between those two moments: one person controls the stored content, while another person supplies the browser context that renders it.

This is why the issue is more specific than saying that every AI-DLC workflow is compromised. AWS ties the affected behavior to the HTML report generator, the ability to modify artifact files and the later opening of the report. Projects that never use the affected CLI, or that use the Markdown output path, have a different exposure profile.

A concrete before-and-after example

Imagine a team accepts contributions to a project workspace. A contributor can edit an artifact description, and a maintainer periodically generates an HTML traceability report for review. Before the fix, a crafted description could be carried into the report without being handled safely as text. When the maintainer opened the file, the browser could interpret the content as script rather than as a harmless description.

After the corrected commit is applied, the report generator treats the relevant values safely during HTML generation. The workflow remains familiar: the team can still create a report, inspect project relationships and share the output. The difference is in the boundary between artifact text and browser markup.

A team using a fork should not assume that pulling the original repository’s current branch is enough. AWS specifically recommends that forks and derivative code incorporate the fix. The code that produces the report is the code that needs to be checked.

The version and maintenance detail that matters

AWS lists impacted versions as >=0.1.0 and earlier than commit 96cf0ea. The bulletin says the issue was fixed at that commit on July 3, 2026. It also says the CLI was removed from the awslabs/aidlc-workflows repository on July 16 and is no longer maintained there.

AWS points to an agent-native reimplementation maintained separately in aws-samples/sample-aidlc-traceability. That is not the same thing as claiming that every project should migrate immediately or that the reimplementation has identical behavior. It does mean the old tool’s repository location is no longer a reliable proxy for maintenance status.

For teams with a local copy, the bulletin’s decision points are clear: remove a copy obtained before the fix, update it to commit 96cf0ea or later, and make sure derivative code contains the same correction. A dependency inventory should include command-line utilities and report generators, not only packages imported by a production service.

Why the Markdown workaround is meaningful

AWS recommends not opening HTML reports generated by an unpatched copy from untrusted projects. It also suggests using the Markdown report output instead of HTML, or generating reports only from artifact files the team controls, until the local copy is updated or removed.

Markdown is not a universal replacement for HTML. HTML may be easier to navigate, style or share with nontechnical reviewers, while Markdown may fit better into code review and version control. The value of the workaround is narrower: it removes the browser-HTML rendering path described in the bulletin while the underlying tool is being addressed.

The trade-off is therefore practical rather than absolute. A team may lose some presentation convenience by using Markdown, but it gains a simpler content path for reports that are built from inputs with uncertain provenance. The bulletin does not present the workaround as a permanent substitute for the fix.

The broader lesson for AI-generated project documents

AI workflows are producing more documents that look passive but are actually executable formats: HTML reports, notebooks, preview pages and generated dashboards. The content may have originated as a title, requirement or description, yet a later renderer can give it a different meaning.

CVE-2026-120497 is a focused example of that pattern. It does not mean generated documentation is inherently unsafe. It shows why teams need to know which fields flow into browser-rendered output, which contributors can edit those fields and which report formats are used during review.

AWS’s resolution is specific: use the corrected commit or later, carry the fix into forks and derivatives, and avoid opening HTML output from an unpatched copy when the project input is not trusted. The memorable part is the boundary: a traceability report may be documentation to the team, but to a browser it is still code-shaped output.

This article is a general information summary based on the cited public sources. It is not legal, cybersecurity, or compliance advice.

Written By

PragnaTeja Bandiboyina

Web Designer

PragnaTeja Bandiboyina shares practical publishing insights, comparisons, and WordPress-focused growth guidance for modern web teams.

212 articles published Member since 2026