CVE-2013-4221
Restlet is vulnerable to Arbitrary Java Code Execution via crafted XML
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
Exploit likelihood
What each source reports
NVD Score used
7.5
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
- Record
CVE-2013-4221- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-16, CWE-91
- Updated
- 2026-11-02
CVE List No score
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
- Record
CVE-2013-4221- Updated
- 2026-11-02
EUVDEUVD-2022-3272 No score
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
- Record
EUVD-2022-3272- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-92j2-5r7p-6hjw No score
Restlet is vulnerable to Arbitrary Java Code Execution via crafted XML
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
- Record
GHSA-92j2-5r7p-6hjw- Weakness
- CWE-91
- Updated
- 2026-11-02
OSVGHSA-92j2-5r7p-6hjw No score
Restlet is vulnerable to Arbitrary Java Code Execution via crafted XML
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
- Record
GHSA-92j2-5r7p-6hjw- Weakness
- CWE-91
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2013-4221 No score
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
- Record
UBUNTU-CVE-2013-4221- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.restlet.jse:org.restletMaven |
before 2.1.4 | 2.1.4 |
restletUbuntu:16.04:LTS |
All versions, plus listed versions 2.0.14+repack-0ubuntu1 |
None known |
restletUbuntu:18.04:LTS |
All versions, plus listed versions 2.0.14+repack-0ubuntu1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-4221 is a high vulnerability (CVSS 7.5) in Restlet, published October 10, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.43%, the 89th percentile. Fixed in org.restlet.jse:org.restlet 2.1.4.
References
rhn.redhat.com/errata/RHSA-2013-1862.html
restlet.org/learn/2.1/changes
blog.diniscruz.com/2013/08/using-xmldecoder-to-execute-server-side.html
bugzilla.redhat.com/show_bug.cgi?id=995275
github.com/restlet/restlet-framework-java/issues/774
rhn.redhat.com/errata/RHSA-2013-1410.html
Show 7 moreShow less
nvd.nist.gov/vuln/detail/CVE-2013-4221
github.com/restlet/restlet-framework-java/commit/b85c2ef182c69c5e2e21df008ccb249ccf80c7b
github.com/advisories/GHSA-92j2-5r7p-6hjw
github.com/restlet/restlet-framework-java
ubuntu.com/security/CVE-2013-4221
github.com/o2platform/DefCon_RESTing
cve.org/CVERecord?id=CVE-2013-4221