Hi maintainers,
I’m reporting a dependency security issue affecting adaptivecards-templating consumers.
Summary
adaptivecards-templating (v2.x) relies on adaptive-expressions as a peer dependency. The latest adaptive-expressions release (4.23.3) still depends on fast-xml-parser ^4.4.1, which is flagged by current advisories (critical) for XML parser issues.
This creates a problem for consumers:
- Security scanners flag a critical vulnerability in the dependency tree
- Upgrading
adaptive-expressions does not resolve it (4.23.3 still depends on ^4.4.1)
- The
adaptive-expressions upstream repo (microsoft/botbuilder-js) is archived, so a fix may not arrive there
Dependency chain
adaptivecards-templating -> adaptive-expressions -> fast-xml-parser
Current package state (verified)
adaptivecards-templating@2.3.1 (peer dep: adaptive-expressions: ^4.11.0)
adaptive-expressions@4.23.3 -> fast-xml-parser: ^4.4.1
Security advisories involved
- CVE-2026-26278 (DoS through entity expansion in DOCTYPE)
- CVE-2026-25896 (entity encoding bypass via regex injection in DOCTYPE entity names)
Upstream context
I also opened an issue in fast-xml-parser asking for a fix/backport in the 4.x line, since many downstream packages are still pinned there:
Based on the maintainer's response there, a 4.x backport currently seems unlikely (the issue was closed without a 4.x remediation plan).
This makes a clear, supported mitigation path important for adaptivecards-templating consumers.
Request
Could you please advise and/or take one of these actions?
- Provide an official mitigation path for
adaptivecards-templating consumers
- Update
adaptivecards-templating docs to acknowledge the issue and recommended workaround (e.g. safe override/pin if compatible)
- Decouple/limit the dependency on
adaptive-expressions features that require fast-xml-parser (if feasible)
- Publish a maintained compatibility path (fork/alternate package/version guidance) now that
adaptive-expressions upstream is archived
Additional context
adaptivecards-templating v2+ correctly moved adaptive-expressions out as a peer dependency, which usually helps with independent upgrades. In this case, the latest adaptive-expressions still retains the vulnerable dependency range, so upgrading it does not resolve the issue.
Thanks.
Hi maintainers,
I’m reporting a dependency security issue affecting
adaptivecards-templatingconsumers.Summary
adaptivecards-templating(v2.x) relies onadaptive-expressionsas a peer dependency. The latestadaptive-expressionsrelease (4.23.3) still depends onfast-xml-parser^4.4.1, which is flagged by current advisories (critical) for XML parser issues.This creates a problem for consumers:
adaptive-expressionsdoes not resolve it (4.23.3still depends on^4.4.1)adaptive-expressionsupstream repo (microsoft/botbuilder-js) is archived, so a fix may not arrive thereDependency chain
adaptivecards-templating->adaptive-expressions->fast-xml-parserCurrent package state (verified)
adaptivecards-templating@2.3.1(peer dep:adaptive-expressions: ^4.11.0)adaptive-expressions@4.23.3->fast-xml-parser: ^4.4.1Security advisories involved
Upstream context
I also opened an issue in
fast-xml-parserasking for a fix/backport in the 4.x line, since many downstream packages are still pinned there:fast-xml-parserissue: Backport CVE-2026-25896 fix to 4.x NaturalIntelligence/fast-xml-parser#792Based on the maintainer's response there, a 4.x backport currently seems unlikely (the issue was closed without a 4.x remediation plan).
This makes a clear, supported mitigation path important for
adaptivecards-templatingconsumers.Request
Could you please advise and/or take one of these actions?
adaptivecards-templatingconsumersadaptivecards-templatingdocs to acknowledge the issue and recommended workaround (e.g. safe override/pin if compatible)adaptive-expressionsfeatures that requirefast-xml-parser(if feasible)adaptive-expressionsupstream is archivedAdditional context
adaptivecards-templatingv2+ correctly movedadaptive-expressionsout as a peer dependency, which usually helps with independent upgrades. In this case, the latestadaptive-expressionsstill retains the vulnerable dependency range, so upgrading it does not resolve the issue.Thanks.