Skip to content

Commit 6ef050f

Browse files
committed
update security note on URL access to actually address security issues
1 parent 160b151 commit 6ef050f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

specs/jsonschema-core.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,11 +1990,12 @@ A malicious schema author could place executable code or other dangerous
19901990
material within a `$comment`. Implementations MUST NOT parse or otherwise take
19911991
action based on `$comment` contents.
19921992

1993-
When encoutering an IRI that is also a valid URL, implementations SHOULD NOT
1994-
presume a network operation should be performed. Implementations which have
1995-
access to the internet SHOULD default to operating offline. Network operations
1996-
should be limited to hypermedia APIs and similar applications where this risk
1997-
already exists and is built into the architecture.
1993+
When encountering an IRI that also represents a valid file system or network
1994+
location, implementations are discouraged to automatically an operation to
1995+
access that location. Schema authors should take care when configuring
1996+
implementations to operate over a file system or network as this could expose
1997+
the host system to various security vulnerabilities, such as man-in-the-middle
1998+
attacks or data leaks.
19981999

19992000
## IANA Considerations
20002001

0 commit comments

Comments
 (0)