Skip to main content
Network Thinking Solutions Logo

CVE-2013-0340

libexpat XML external entity (XXE)

All CVEs
CVE-2013-0340Published 1/21/2014

libexpat XML external entity (XXE)

Vendor advisory
CVSS6.8Medium

Overview

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

Published
1/21/2014
Last modified
10/14/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
libexpat
libexpat project
< 2.4.0

Verify advisory

Source
python
python
≥ 3.6.0, < 3.6.15

Verify advisory

Source
python
python
≥ 3.7.0, < 3.7.12

Verify advisory

Source
python
python
≥ 3.8.0, < 3.8.12

Verify advisory

Source
python
python
≥ 3.9.0, < 3.9.7

Verify advisory

Source
ipados
apple
< 14.8

Verify advisory

Source
iphone os
apple
< 14.8

Verify advisory

Source
macos
apple
< 11.6

Verify advisory

Source
tvos
apple
< 15.0

Verify advisory

Source
watchos
apple
< 8.0

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.0, < V3.1.5

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.