{"id":"CVE-2026-62273","summary":"XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging","details":"XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls tag keys or values to inject forged tag entries into S3 object and bucket tagging requests.\n\nExAws.S3.put_object_tagging/4 and ExAws.S3.put_bucket_tagging/2 in lib/ex_aws/s3.ex build the \u003cTagSet\u003e request body by interpolating tag keys and values directly into \u003cKey\u003e and \u003cValue\u003e elements via to_string/1, without applying the module's existing escape_xml_string/1 helper (which delete_multiple_objects already uses for object keys). An application that forwards user-supplied data as a tag key or value lets an attacker close the intended element and inject attacker-chosen \u003cTag\u003e entries. For example, a tag value of blue\u003c/Value\u003e\u003c/Tag\u003e\u003cTag\u003e\u003cKey\u003eowner\u003c/Key\u003e\u003cValue\u003eadmin turns one intended tag into two tags on the wire. Because S3 honors tags in access-control conditions (aws:RequestTag, s3:ExistingObjectTag) and cost-allocation reporting, an injected tag can forge an authorization-relevant tag or corrupt the intended tag set.\n\nThis issue affects ex_aws_s3: from 2.0.2 before 2.6.0.","aliases":["EEF-CVE-2026-62273","GHSA-979q-5hj9-vvvv"],"modified":"2026-11-24T16:00:12.574177333Z","published":"2026-11-24T14:15:59.569Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-91"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62273.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-62273.html"},{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62273.json"},{"type":"PACKAGE","url":"https://github.com/ex-aws/ex_aws_s3"},{"type":"FIX","url":"https://github.com/ex-aws/ex_aws_s3/commit/c6331b84c80f09d24d4a25cf05d8604541ce162e"},{"type":"FIX","url":"https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397"},{"type":"ADVISORY","url":"https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-979q-5hj9-vvvv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62273"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-62273"},{"type":"WEB","url":"https://repo.hex.pm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ex-aws/ex_aws_s3","events":[{"introduced":"c6331b84c80f09d24d4a25cf05d8604541ce162e"},{"fixed":"eda0b9b9c63707f7db8d8f18c331df7fda57c397"},{"introduced":"fb9bac4c51faedd07bdb795493ddbe65fc2e2e42"},{"fixed":"50ae16bb1bf744742cf405778f309285aa6cb869"},{"fixed":"c6331b84c80f09d24d4a25cf05d8604541ce162e"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"c6331b84c80f09d24d4a25cf05d8604541ce162e"},{"fixed":"eda0b9b9c63707f7db8d8f18c331df7fda57c397"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.0.2"},{"fixed":"2.6.0"}]},{"range":[{"fixed":"c6331b84c80f09d24d4a25cf05d8604541ce162e"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"eda0b9b9c63707f7db8d8f18c331df7fda57c397"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v2.5.9","v2.5.8","v2.5.7","v2.5.5","v2.5.4","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.1.0","v2.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62273.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"}]}